Appendix – Liquid Controls DMS Office User Manual
Page 50

50
APPEnDIX
Sample batch File
Rem --------------------------------------------------------------
-
Rem The following assumes that the batch file is located in C:\DMS\
Rem --------------------------------------------------------------
-
Rem ---------------------------------------------------
Rem Copy the file from the network to the local folder.
Rem ---------------------------------------------------
if exist H:\DMS_FILES\DELLOAD.DAT copy H:\DMS_FILES\DELLOAD.DAT
*.* /v /y
Rem ----------------------------
Rem Generate the database files.
Rem ----------------------------
DMSLCLOAD
Rem -----------------------------------
Rem Copy the database files to the USB.
Rem -----------------------------------
if exist CASH.500 copy CASH.500 E:\DMS\*.* /v /y
if exist CUSTACCT.500 copy CUSTACCT.500 E:\DMS\*.* /v /y
if exist CUSTOMER.500 copy CUSTOMER.500 E:\DMS\*.* /v /y
if exist DISPATCH.500 copy DISPATCH.500 E:\DMS\*.* /v /y
if exist DRIVER.500 copy DRIVER.500 E:\DMS\*.* /v /y
if exist FUELTYPE.500 copy FUELTYPE.500 E:\DMS\*.* /v /y
if exist MISCTRAN.500 copy MISCTRAN.500 E:\DMS\*.* /v /y
if exist PRODUCT.500 copy PRODUCT.500 E:\DMS\*.* /v /y
if exist SYSDEFS.500 copy SYSDEFS.500 E:\DMS\*.* /v /y
if exist TANK.500 copy TANK.500 E:\DMS\*.* /v /y
if exist TAX.500 copy TAX.500 E:\DMS\*.* /v /y
if exist TAXCODE.500 copy TAXCODE.500 E:\DMS\*.* /v /y
if exist VOLUME.500 copy VOLUME.500 E:\DMS\*.* /v /y