This article describes how to create multiple Fileshare services the fsservice command in Net Express 5.1 and later versions.
Problem:
Only one Fileshare service could be created because the fsservice command required the Fileshare configuration file to be located in the C:\\windir\\system32 directory and named fs.cfg.
Resolution:
The following examples illustrate how to use the fsservice command to install and uninstall multiple Fileshare services.
- Open a command prompt and navigate to the directory where fsservice.exe is located, or open a Net Express command prompt.
-
To install a service called FS1 that uses C:\\FS1 as the working directory and contains the filefs.cfg, enter the following:
fsservice –i FS1 /wd C:\\FS1
-
To install an additional service FS2 that uses C:\\FS2\\DATA as the working directory and C:\\FS2 as the location of the configuration file fs2.cfg, enter the following:
fsservice –i FS2 /cf C:\\FS2\\FS2.CFG /wd C:\\FS2\\DATA
-
To uninstall the Fileshare service FS2, enter the following:
fsservice –u FS2
Incident Number: 2154302
#EnterpriseServer
#netexpress
#MFDS
#AcuCobol
#COBOL
#RMCOBOL
#ServerExpress
#EnterpriseDeveloper
#Enterprise