I am trying to run a program that has switches involved that I can successfully run from the "Run" window in Windows XP.
Example:
c:\temp\inst\InstData\VM\install.exe -f installer.properties
However, when putting this into VBScript like I normally do such as:
It just wants to run the installer but not the switches.
NOTE: This is all one line - forum is moving the last segment onto the second line.
Any suggestions?
Example:
c:\temp\inst\InstData\VM\install.exe -f installer.properties
However, when putting this into VBScript like I normally do such as:
Code:
objShell.run """c:\temp\inst\InstData\VM\install.exe""" & " -f " & "installer.properties"
It just wants to run the installer but not the switches.
NOTE: This is all one line - forum is moving the last segment onto the second line.
Any suggestions?