Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
xcopy/Y "C:\Program Files\Tri-Line\TIM Enterprise\FTP\*.XML"
"C:\Program Files\Tri-Line\TIM Enterprise\spool\*.{sitecode}" 
cd "\Program Files\Tri-Line\TIM Enterprise\FTP\" 
del *.* /q
cd\ 
Info

In the above example, the

Keywordmacro
Label{sitecode}
needs to be replaced with the unique ID of the site object you are trying to send the data to. The site ID will be displayed in the general properties of the site object in the Directory.

 

The batch file will cut the XML files and rename the file extension to the relevant

Keywordmacro
Label{sitecode}
, then paste the files into 
Referencemacro
Labelspool
folder. A Windows scheduled task needs to be set up to run the batch file every 5 minutes or so.

...