bourny Posted April 7, 2008 Share Posted April 7, 2008 I am looking to create a script and when compiled I can run switches against it.... Does anyone know how to do this ,... E.G . Myscript.exe -companyname This will take "companyname" and assign it as a variable that I can check in the script for some logic.. Thanks Link to comment Share on other sites More sharing options...
zorphnog Posted April 7, 2008 Share Posted April 7, 2008 (edited) The built-in array $CmdLine. Search for it in the Help Files. Edited April 7, 2008 by zorphnog Link to comment Share on other sites More sharing options...
bourny Posted April 7, 2008 Author Share Posted April 7, 2008 Thanks, Just found it... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now