You can install Fileshare as a Windows service, which allows you to start and stop the server from the Windows Control Panel.
Restriction: This is only applicable to Windows platforms.
You can install Fileshare as a Windows service using the following syntax
fsservice -i <service-name> /wd <path\to\fs\working\dir> /cf <path\to\fs\config-file>
- -i <service-name>
- A unique name for the service.
- /wd
<path\to\fs\working\dir>
- The Fileshare working directory. This can also be specified in the configuration file.
- /cf
<path\to\fs\config-file>
- The fully-qualified path to the Fileshare server configuration file.
For example, the following command installs a service called FS32SEV1, that when started uses a working directory of
C:\support\FS32\DATA, and uses the configuration file
C:\support\FS32\FSAD32.CFG.
fsservice -i FS32SEV1 /wd C:\support\FS32\DATA /cf C:\support\FS32\FSAD32.CFG
From the
Services screen (available from the Windows Control Panel), you can start and stop the Fileshare service.
To uninstall the Fileshare service, enter:
fsservice -u <service-name>
When Fileshare is running as a service, there is no Fileshare console window, and so you cannot control it interactively via
this window. Consequently:
- You have to use FSView to control Fileshare, and therefore must create a password
file.fs.
- We strongly recommend that you use
sc, since it gives great performance gains, and the only reason for not using it was loss of interactive control.
- You should specify
/tr f in the configuration file if you want tracing, as you cannot use
F2.