Greetings,
Here goes:
In your script, use Command - that is what gets "filled" when /C is used.

So if I had a shortcut that was using /C Hi there dude
My script could have:
Msgbox Command

And I'd see "Hi there dude" pop up.
To pass more than one "instruction" use a delimited string so:
/C instruction1|instruction2

And in the script:

Msgbox "Instruction 1 was:"  & strword(Command,1,"|")
Msgbox "Instruction 2 was:"  & strword(Command,2,"|")

Regards,
Thom

Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com
 
LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Parish, Jared
Sent: Thursday, May 17, 2007 12:48 PM
To: [email protected]
Subject: [Talk] Command Line Parameters

Does anyone have an example of how to use the "/c" command line
parameter.  I would like to pass some information to my script to tell
it what to do.

Thanks,
 
Jared Parish

Business Analyst
Information Technology
 
Blanchard Valley Health System
1900 South Main Street
Findlay, Ohio 45840
 
Email: [EMAIL PROTECTED]
Voice: 419.429.6476
Fax:    419.425.5555
 
CareTech Solutions, Inc




Reply via email to