View Single Post
  #1 (permalink)  
Old December 9th, 2003, 11:46 AM
ninja_kornjaca ninja_kornjaca is offline
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with WScript.Shell object

hello, guys,

i need help with WScript.Shell. I wrote the following code on my page:

<%
Set o = Server.CreateObject("WScript.Shell")
o.Run("d:\users\my\DosApplication.exe")
Set o = Nothing
%>

and my application never executes! If i make changes and write:

o.Run("c:\winnt\notepad.exe")

everything works just fine (of course i can't see the window, but i see it in task manager)!

what should i do? any ideas?

kornjaca