How Do I Run a Script (perl, python, etc.)?

Top  Previous  Next

 

NEW INSTRUCTIONS AS OF 11/13/06:

 

Drag+Drop Robot will now automatically create a temporary batch file for you when you try to execute scripts through the shell which are not .exe/.com/.bat files, so you may now use such scripts directly (like .pl for perl, etc).

 

 

OLD INSTRUCTIONS

 

So for now, you must create a .bat batch file to launch your script.

commandline arguments are passed on to batch files and can be refered to from a batch file by "%1" and "%2" etc.

 

so if you wanted to execute from drag+drop robot the following command:

MyPerlScript.pl %A

 

then you would make a batch file called:

MyPerlScript.bat

 

whose contents were simply:

MyPerlScript.pl "%1"

 

and then from drag and drop robot you would specify:

MyPerlScript.bat %A