You can specify your Fileshare parameters in a configuration file, as an alternative to specifying them on the command line. A Fileshare Server configuration file is an ASCII text file that contains one option per line.
If you give no parameters on the command line, then
fs looks for a configuration file. By default, it looks for a file called
fs.cfg in the Fileshare directory, that is, the directory where you started
fs. You can use the
/cf parameter to specify a different path and/or filename.
For example, you could have a configuration file
c:\fsdir\fsconf.cfg containing:
/s server1
/tr f
and start your server
server1, from your application command prompt, by entering:
fs /cf fsconf.cfg
Another example is that you could have a configuration file
c:\fsdir\fs.cfg containing:
/s server1
and start your server by entering:
fs