-
OK, I'm too lazy to dig this up....
How do I load a passed argument(s) into a variable in my program?
Lest say my program is NukeWhales.exe and the user runs my program
NukeWhales 3:00pm, Thursday
How do I get "3:00pm" and "Thursday" into my program.
Thanx
Elrey
-
Get command params
Use variable Command$ to get the string passed into the app from the command promt.
You can then user the split command to move the data into an array and get it from there.
ie.
X = split(Command$, "'")
msgbox X(1) etc......
Hope this helps,
John.
-
Use the "Command" function in your program to read the variables that are passed.