PERFORM Execute a specified script command |
Top Previous Next |
This script command takes a variable or string argument and executes it as if it were an inline script command. This command is useful to permit script commands to be passed in as a Shortcut Target argument when Robo-FTP is launched or obtained via the PROMPT script command.
Consider the following example of a script file that accepts commands that you type when prompted by Robo-FTP. You would type the STOP command to end script execution.
:loop PROMPT var "Enter Command" "Robo-FTP Prompt Window" PERFORM var GOTO loop
Consider the following example where a command is passed an argument from the Shortcut Target command line to set the working folder.
"c:\Robo-FTP\robo-ftp.exe" &workingdir "c:\test"&
PERFORM &1
Related Commands: EXEC, PROMPT, CALL, CHAIN See also Using Shortcut Target Arguments in Script Files
|