Jump to content

Passing Parameters


TeeM
 Share

Recommended Posts

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.)

Link to comment
Share on other sites

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')

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...