DATASHEET FOLDER NAME,X:\Test_Datasheets
INVALID FILE MOVE FOLDER,X:\Bad_Datasheets
LOG FILE NAME,DFWDS
LOG FILE FOLDER,X:\Datasheets_Log
WEB FOLDER,X:\For_Web
OPERATION,WEBMOVE

Last updated: 2015-06-08

The first six lines of this file are folder and file names required by
the Dataforth Website Datasheet program (DFWDS.exe). Each line consists
of the parameter name (in all CAPS), followed by a comma, followed by
the file or folder name (not in quotes) or operation. A space is
allowed after the comma separator. 

The six lines parameter lines must contain only the allowed parameters
and data, in this specified format, for the program to operate properly.
Any lines below these six lines are not read by the program, and can
consist of comments or instructions (such as these).

The location and name of this file (usually C:\DFWDS\DFWDS_NAMES.TXT) is
hardcoded in the program.

Descriptions of the six required lines (along with the required parameter
names) are shown below:

First line:
-----------
DATASHEET FOLDER NAME: This is the location of the folder containing the
datasheet files that will eventually be copied to the Dataforth website.

Second line:
------------
INVALID FILE MOVE FOLDER: This is the location of the folder to which
invalid files in the datasheet folder will be moved.

Third line:
-----------
LOG FILE NAME: This is the name of the file that logs the operation of the
Dataforth Website Datasheet program (DFWDS.exe), including invalid file
moves and datasheet file renaming. NOTE: This is the file name (only),
and does NOT include the ".log" extension.

Fourth line:
------------
LOG FILE FOLDER: This is the location of the folder containing the log
file for the DFWDS.exe program.

Fifth line:
WEB FOLDER: This is the location of the folder to which the valid
datasheet files (including renamed files) are moved if the "OPERATION"
parameter (see below) is "WEBMOVE".

Sixth line:
-----------
OPERATION: This parameter controls the operation of the program, and
can only be one of the values described below:
-------------------------------------
COUNT causes the program to only count the invalid files
and files that should be renamed. 

LISTALL causes the program to list all of the files found in the
datasheet folder.

LISTBAD causes the program to list all of the invalid ("bad") files
found in the datasheet folder.

LISTRENAME causes the program to list all of the datasheet files in
the datasheet folder that have DOS-encoded names that need to be
renamed to match the module serial number contained in the file.

INPLACE renames the appropriate files in their current directory
(specified by the "DATASHEET FOLDER NAME" parameter - see above), but
moves the invalid files to the directory specified by the
"INVALID FILE MOVE FOLDER" parameter (see above).

WEBMOVE moves the invalid files to the "INVALID FILE MOVE FOLDER"
directory, but also moves the valid datasheet files (including those
that have been renamed) to the folder specified by the "WEB FOLDER"
parameter (see above).