Configurator: Command Line Switches

Top  Previous  Next

 

The Configurator program makes it easy to modify Robo-FTP configuration settings. By default, the type of settings modified by the Configurator depend on the maximum authority of the user that launched it. Shared settings are modified when a user with local administrator privileges runs the program. If a regular user without administrator privileges runs the program, it will modify only the current user's settings. Command line switches allow local administrators to override the default behavior and specify which settings are displayed by the Configurator and how any changed settings are saved.

 

The basic command line syntax is:

 

Configurator.exe [ source ] [ target ]

 

Both [ source ] and [ target ] can refer to either user settings or shared system settings. The possible combinations are:

 

-su -tu        Display user settings and save to user settings.

 

-su -ts        Display user settings but save to system settings.

 

-ss -tu        Display system settings but save to user settings.

 

-ss -ts        Display system settings and save to system settings.

 

These parameters do not change the level of the current user's security access so non-administrative users cannot use them to gain access that would otherwise be denied. Attempts to specify system settings will fail for users without write access to HKEY_LOCAL_MACHINE.

 

 

 

The Configurator also provides an Import Settings mode that can be invoked from the command line. Adding the -i switch to the command line launches the Import Settings dialog window. The command line syntax is otherwise similar to those listed above with the [ source ] indicating which settings should be imported and the [ target ] specifying where the settings will be saved:

 

Configurator.exe [ source ] [ target ]  -i["version identifier string"]

 

When the optional version identifier string matches the text that would normally be shown in the importer dialog, the dialog is suppressed and the settings are automatically imported. A system administrator might use the following syntax in a logon script to silently upgrade users to the latest version:

 

Configurator.exe -su -tu  -i"Robo-FTP 3.6 or Lower"

 

 

See also: Robo-FTP command line switches, User Settings vs. Shared Settings