Link to home
Start Free TrialLog in
Avatar of ink777
ink777

asked on

WSH escape character?

Hi,

 I am trying to execute an exe using VB script. I am not sure which escape character I have to use.

The script is as follows.
/************/
Dim RetVal
 Set Shell = CreateObject("WScript.Shell")
RetVal = Shell.Run(test -s Major -c "Error Events" "" 10 20 "test message",1)
/************/
test is the exe name and rest are parameters.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of aParser
aParser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aParser
aParser

I think I gave a correct answer.