If I want to launch an application in DOS, it is START notepad.exe
How do I launch an application in javascript?
thanks
If I want to launch an application in DOS, it is START notepad.exe
How do I launch an application in javascript?
thanks
I'm only using this on my local host and not on the internet. I tried something like this, it works for notepad or calc.
It does not work if I launch a non built in MS application.Code:var WshShell = new ActiveXObject("WScript.Shell"); WshShell.Exec("notepad.exe");
Code:var WshShell = new ActiveXObject("WScript.Shell"); WshShell.Exec("d:\hjsplit.exe");
Any comments or suggestions is greatly
That's (highlighted) a string and the \ is the escape character, so:
looks like:Code:WshShell.Exec("d:\hjsplit.exe");
to the browser. Just escape the escape:Code:WshShell.Exec("d:hjsplit.exe");
Code:var WshShell = new ActiveXObject("WScript.Shell"); WshShell.Exec("d:\\hjsplit.exe");
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks