General help and info provided by Helewix.com Webmasters
| « The new EE beta is here | Exchange 2010 Queue Viewer Error: » |
VBS to open application .exe plus additional parameters
Let’s say you want to open C:\Program Files\Internet Explorer\TEST.exe with the /S and some INI file using VBScript, there are 2 ways to reference the string this:
SOLUTION 1:
' Declare your executible and any switches below
' Declare your executible and any switches below
CmdLine1 = """C:\Program Files\Internet Explorer\TEST.exe"
CmdLine2 = "/S"
CmdLine3 = """C:\Program Files\Internet Explorer\YOURiniFile.ini"""
strAPP = CmdLine1 & " " CmdLine2 & CmdLine3
Wshell.Run CmdLine,1,True