
Q: Help on Multiple Command Line Switches??
Hi there.
Here is what I'm trying to do...
' Sample Code Start.
Dim strModemPort%, X as long
strModemPort = 1
X = Shell(app.path & "\program.pif -port" & strModemPort)
' so far, so good... I'll be shelling the .pif file with the command line
switch
' being "-port1"
' But, the command line in the .pif file is the following:
' "Program.exe -debug" -- or whatever...
' I would like what is actually run to be:
' "Program.exe -debug -port1"
' and I'd like to be able to change the command line in the .pif file
(ie. -debug)
' so that I can always have the modem port set properly (according to a .ini
file
' or registry setting), but set debug switches in the .pif file on the fly,
if needed...
' The order of the switches does not matter, just as long as they're all
there...
' Sample Code End. :-)
Please e-mail me at:
Thanks for your help...
Chuck.