Jump to content
Sign in to follow this  
TeeM

Passing Parameters

Recommended Posts

TeeM

Hi,

I'm wondering if it's possible to start a script with a certain parameter? I'm running some queries and want to pass in the id to search for as a parameter to the script. Is it possible to start the script with parameters (but I don't want to have to start the script from the command line.)

Share this post


Link to post
Share on other sites
seandisanti

Hi,

I'm wondering if it's possible to start a script with a certain parameter? I'm running some queries and want to pass in the id to search for as a parameter to the script. Is it possible to start the script with parameters (but I don't want to have to start the script from the command line.)

you can pass commandline parameters without needign the command line per se;

they're handled the same way whether you go to a command line and type "script1 param1" or if you Run('c:\script1 param1')

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.