Saved Bookmarks
| 1. |
Solve : Is there a way to create a file an launch it?? |
|
Answer» Is there a way in php/javascript/... to create a file on someones computer and launch it? For example a batch file that change the name of a map? What are you up to blackberry ? ?Creating an on-line intranet that helps people with computer problems. Why do you ask?This can be done with vbscript.... Code: [Select]Set objShell = CreateObject("WScript.Shell") objShell.Run "(install path including file name)" Hope that helps . 8-)fffreak Quote QuoteWhat are you up to blackberry ? ?Creating an on-line intranet that helps people with computer problems. Why do you ask? Just SOUNDED devious to me... But i've seen it all so don't take it personally....As fffreak mentioned, VBScript makes that possible. However, most browsers block VBScript for just this reason, SINCE hackers can all too easily use that to HIT the user with a virus. I certainly don't enable VBS. However, that may be the only way, aside from offering a FTP for a program on the site itself.It's not my intention to make virus or something, so I have absolutely no problem that the user should accept something. I just liked to have that the user shouldn't open and download everytime a file for each click on a linkYou could just have an executable download and request users run the file and/or save and run the file. I think that would be the best solution, because as mentioned above most browsers will block and/or prohibit vbscript from RUNNING the file. |
|