Jump to content

Recommended Posts

Posted

How would I go about setting up my compiled script to read passed arguments from the command-line? I've searched the forums but can't seem to find any examples. To try and clarify, I'm trying to set up something like:

C:\>my_compiled_code.exe binary

where "binary" is the argument that my exe can read.. any assistance would be greatly appreciated. TIA.

My Additions:- RunAs AdminDeviant Fun:- Variable Sound Volume

Posted (edited)

How would I go about setting up my compiled script to read passed arguments from the command-line? I've searched the forums but can't seem to find any examples. To try and clarify, I'm trying to set up something like:

C:\>my_compiled_code.exe binary

where "binary" is the argument that my exe can read.. any assistance would be greatly appreciated. TIA.

Search in help file about Command Line Parameters and read about $CmdLine.

Hope that helps.

Edited by Andreik

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
  • Recently Browsing   0 members

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