|
|
File Copy Service
Information Product Page Current Version 2.0 The File Copy Service is exactly what the name implies. It is a very thin Windows NT/2000 service with a small footprint that is used to move files from an originator to a destination folder at regular intervals in the background as a service. All interaction is to the Application Event Log and the initial values are set during installation and can be changed via the registry at any time. All mandatory registry values are under the HKEY_LOCAL_MACHINE\SOFTWARE\SavillTech\cpyServ key and are used as follows:
Version 2 adds the ability for upto 100 pairs of source, destination and filter paths which require manual adding to the registry with the format:
You cannot set different pause schedules for the different sets.
Its important to note the first path does not have 1 and is just Path, this is done to maintain backwards compatibility with existing installations. For example your registry with 3 sets of paths may be: sourcePath - d:\temp\dir1 destPath - d:\temp\dir2 filterPath - *.* sourcePath2 - d:\temp\dir2 destPath2 - d:\temp\dir3 filterPath2 - *.t* sourcePath3 - d:\temp\dir3 destPath3 - d:\temp\dir4 filterPath3 - *.txt executionPause - 5000 An example of this can be found in the cpyservmulti.reg which is installed to the '%ProgramFiles%\SavillTech Ltd\File Copy Service 2.0' folder. Your registry would look like:
When the service starts via the Services control panel applet (Start - Settings - Control Panel - Services) or using the Computer Management MMC if using Windows 2000 (Start - Programs - Administrative Tools - Computer Management) an event log is written with the values to be used: Event Type: Information Every execution phase an event will be written confirming if any files were moved. To start the service from the command line: C:\> net start cpyserv To stop: C:\> net stop cpyserv To download click here. On installation a file cpyserv.exe will be placed in the system32 folder and will be installed automatically. If there is a problem you can manually install the service as follows:
To uninstall use the Add/Remove programs applet (Start - Settings - Control Panel - Add/Remove Programs) or if you just wish to remove the service use command: C:\WINNT\system32>cpyServ -u Contact InformationIf you wish to discuss licensing windows information in a product and/or require an custom changes (logo etc.) please mail sales@savilltech.com. |
Last Update: Sunday, 22 July 2001
Copyright ©2001 SavillTech Ltd. All rights reserved.
Terms of use