Using Windows environment variables

Top  Previous  Next

 

Windows environment variables can be used in two ways. One way is to pass the environment variable as an argument into Robo-FTP from a shortcut or the Windows Command Prompt command line. Consider the following example where the environment variable %SystemDrive% is passed in as an argument.

 

C:\Program Files\Robo-FTP\Robo-FTP.exe –p1 %SystemDrive%

 

The second way is to set a variable to the environment variable via the SET command. Consider the following example where the environment variable %SystemDrive% is set to the variable sysdrive.

 

SET sysdrive = %SystemDrive%

 

Refer to SET and Command Line Switches for more details.