Hi All
I wanted to run Josef Drexler Locotool on several DAT file at one go using the *.DAT format - unfortunately it would only deal with the first DAT file it encountered so to overcome this I carried out the the following:-
1 I wrote the DOS BATCH files (see below) .
2 Placed them both in a test directory
2 I then copied over 1800 DAT files held in the Objdata Directory to a test directory. (To test the idea)
3 I then copied a copy of Locotool.exe to the same directory
4 Finally copied the essential (JD's) Locotool.dll file( JD's Link library file) to the same directory.
5 I ran the Batch file and Locotool dealt with every one of the dat files
that it encountered (It dealt will all 1800 files in under 17 minutes)
6 The directory was full of the XML files and PNG files as expected.
7 The Batch file is easily changed to accomodate parameters that the locotool program permits i.e. -s -d etc
8 I use ACDSee to quickl view the PNG graphics
(using the slide show facility - a very quick way of looking over the
PNG/XML files efectively and quickly.)
9 I Hope the 2 examples of syntax helps those of you who would like
do likewise....
Write one Batch file containing the following script (EXCLUDE THE QUOTES)
"for %%a in (*.dat) do locotool -s *.dat next %%a"
This will run Locotool on all DAT files encountered in the immediate directory and produce XML files and a single PNG containing PICS
Write the other Batch file containing the following script (EXCLUDE THE QUOTES)
"for %%a in (*.xml) do locotool -d *.xml next %%a"
This will run Locotool on all XML files encountered in the immediate directory and produce DAT files and a backup
Regards to all


