| |
Pieman
Posts: 10
Score: 0
Joined: 8/16/2001
From: United Kingdom
Status: offline
|
The way i found to use command line switches was to use windows scripting files (.wsf) instead of .vbs E.g. If you had the following message.vbs file: Dim MyMessage MyMessage = MsgBox ( "Message", 0, "Message") If you use message.wsf you cound have the following: <package> Dim MyMessage <job id="Message1"> <script language="VBScript"> MyMessage = MsgBox ( "Message1", 0, "Message1") </script> </job> <job id="Message2"> <script language="VBScript"> MyMessage = MsgBox ( "Message2", 0, "Message2") </script> </job> And to call this type the following at the command line: C:\message.wsf //job:message2 (Note: if you don't specify a job when calling the wsf the first job in the file is executed by default) Hope this helps
|
|