batch script on windows
Posted on 2011-02-21
I am trying to write a batch script that needs to work on windows server 2003.
I have xml order files which need moving to their appropriate folders.
The easy bit.
- move files to a temp directory
The not so easy bit.
Create a list of files
- for each file in the list: build a directory path from the file name.
e.g. if the file is 12345678_orders_test.xml, then the file would be moved to F:\12345678\orders