Appendix, Batch files, Command line parameters – Liquid Controls DMS Office User Manual
Page 48

48
APPEnDIX
By creating batch files in DOS, the transfer of files back and forth between DMS Delivery and the back office software can
be reduced to a one click process. LC
3
(Liquid Controls previous data management system) was run in this manner.
bATCH FILES
==================================================================
======
CONSOLE APPLICATION : DMSLCLoad
==================================================================
======
This application can be invoked by a batch file. Error messages and
diagnostic messages will be printed to “DMSLCLoad.txt”. This file
will be created in the same folder that the application is in.
This program can be called in three ways. For the examples below,
it is assumed that the executable is in the following folder:
c:\DMS\
1) The simplest method of calling this program:
c:\DMS>DMSLCLoad
The program attempts to convert c:\DMS\DELLOAD.DAT into 500 files.
The 500 files will be created within the c:\DMS\ folder.
2) To change the name of the LC3-format dispatch file, add the file
name as an argument to the command-line:
c:\DMS>DMSLCLoad SAMPLE.FIL
The program attempts to convert c:\DMS\SAMPLE.FIL into 500 files.
The 500 files will be created within the c:\DMS\ folder.
3) If the executable and LC3-format dispatch file are in different
directories (for example, if the dispatch file is in
c:\DMS\Database\ ):
c:\DMS>DMSLCLoad c:\\DMS\\Database\\SAMPLE.FIL
The program attempts to convert c:\DMS\Database\SAMPLE.FIL into
500 files. The 500 files will be created within the c:\DMS\Database\
folder.
==================================================================
======
CONSOLE APPLICATION : DMSLCRead
==================================================================
======
Command Line Parameters