beautypg.com

Appendix – Liquid Controls DMS Office User Manual

Page 49

background image

49

APPEnDIX

This application can be invoked by a batch file. Error messages and
diagnostic messages will be printed to “DMSLCRead.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>DMSLCRead

The program attempts to convert c:\DMS\COMPTRAN.TRN and
c:\DMS\TOTALS.TRN into c:\DMS\DELREAD.DAT.

2) To change the name of the LC3-format delivery file, add the file
name as an argument to the command-line:

c:\DMS>DMSLCRead OUT.TXT

The program attempts to convert c:\DMS\COMPTRAN.TRN and
c:\DMS\TOTALS.TRN into c:\DMS\OUT.TXT.

3) If the executable and TRN files are in different directories

(for example, if COMPTRAN.TRN and TOTALS.TRN are in c:\DMS\
Output\):

c:\DMS>DMSLCRead c:\\DMS\\Output\\OUT.TXT

The program attempts to convert c:\DMS\Output\COMPTRAN.TRN and
c:\DMS\Output\TOTALS.TRN into C:\DMS\Output\OUT.TXT.