Installing a service from the command line

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Installing Robo-FTP as a Windows Service > Service Installer and Monitor >

Installing a service from the command line

 

Robo-FTP may be configured to run as a service by launching the Service Installer program from the command line and specifying the service details as command line parameters.  

 

Command syntax:

SrvInstaller.exe -instnow [ service name ] [ script file path ] [ optional switches ]

 

 

The following example creates a service named "Robo-FTP" that runs a script named "C:\Program Files\Robo-FTP X.X\Script.s" and uses the "-n" command line switch to run with no splash screen. The "-t" command line switch may also be useful in this circumstance.

 

SrvInstaller.exe -instnow "Robo-FTP" "C:\Program Files\Robo-FTP X.X\Script.s" "-n"

 

The optional -restartonexit switch causes the installed service to automatically restart the script file if the script itself terminates for any reason. It must follow the -instnow option.

 

WARNING: This is an experimental, unsupported feature.  Functionality may change in future versions

 

You must have administrator privileges to install the Robo-FTP as a Windows service.

 

Related command(s): SRVNAME

See also: Installing Robo-FTP as a Service, Robo-FTP command line switches