Skip to main content

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 fsservice command now accepts the following parameters that enable you to create multiple Fileshare services:
  • the Fileshare service name
  • /wd (the Fileshare working directory)
  • /cf (the name of the configuration file)

The following examples illustrate how to use the fsservice command to install and uninstall multiple Fileshare services.


  1. Open a command prompt and navigate to the directory where fsservice.exe is located, or open a Net Express command prompt.
  2. 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
  3. 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
  4. To uninstall the Fileshare service FS2, enter the following:

    fsservice –u FS2

Incident Number: 2154302

Old KB# 14508

#EnterpriseServer
#netexpress
#MFDS
#AcuCobol
#COBOL
#RMCOBOL
#ServerExpress
#EnterpriseDeveloper
#Enterprise