
December 12th, 2000, 06:51 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : Andrew Taylor (andrew.taylor@analysys.com)</b></i><br />You can use the Scripting host to create a<br />Shell Object:<br /><br />set objWshShell = CreateObject ("Wscript.Shell")<br />objWshShell.Run ("Notepad.exe", 1, true) <br /><br />the parameters to the Run method are<br />1 = command line<br />2 = window style (1 = normal) (as for the Shell function in VB) <br />3 = if true, waits for command to complete before returning.<br /><br />HTH<br />Andrew<br /><br /><br />------------<br />Scott at 12/6/2000 5:03:20 AM<br /><br /><br />Can you open programs on the servers computer through asp, say, everytime someone visited a page running from my computer, could it open notepad or something similar?<br />I don't want the person coming to the page to have notepad open on them, I want notepad to open on the server. Any replies would be appreciated. Thankyou.
|