Read the command line arguments & then set up the exe to behave differently depending on the value passed. You'd need two shortcut files though.
From the manual:
Quote:
Reading the command line arguments is done using a special built-in array named args.
Use ArrayLen to find the number of arguments available.
In order to simulate command line arguments from the IDE you can use Tools - Command line arguments.
Example:
Sub Globals
End Sub
Sub App_Start
For i = 0 To ArrayLen(args())-1
Msgbox(args(i))
Next
End Sub
|