| |
kracksmith
Posts: 198
Score: 0
Joined: 2/24/2005
From:
Status: offline
|
Ok I have read all I could with your clue and still can't figure it out, can you help me more? WshShell.Run strCommand [,intWindowStyle] [,bWaitOnReturn] intWindowStyle = any number between 0 thru 10 (0 is the one i want to use) bWaitOnReturn = either false or true. False being default if i don't enter true but if it's set on True then the script is supended until the strCommand is finished. strCommand being this i think: "runas /user:admin ""c:\Program Files\DataCAD\DataCAD.11.08.01.exe""" This is what i have from reading what the link said which doesn't work at all. "WshShell.run "runas /user:admin ""c:\Program Files\DataCAD\DataCAD.11.08.01.exe""" , 0, true which looks right to me and should work. I would like to close this case once everything is good.
|
|