javascript Programming Glossary: commandtorun
Running .exe from Javascript http://stackoverflow.com/questions/3152482/running-exe-from-javascript I have var oShell new ActiveXObject Shell.Application var commandtoRun C Documents and Settings User Desktop ABCD.exe oShell.ShellExecute.. and Settings User Desktop ABCD.exe oShell.ShellExecute commandtoRun open 1 If i have only the first 2 lines code it seems to work.. question You need to escape the backslashes e.g. var commandtoRun C Documents and Settings User Desktop ABCD.exe Update This works..
|