资 源 简 介
This is a Microsoft Windows batch script that moves files from one specified directory to another. Once executed the script runs every 10 minutes.
This was developed as a complement to an EDI AS2 solution to automatically move errored messages from an "Error" folder, back to the "Send" folder to attempt a resend.
Features:
- keeps track of files that are moved.
- if a file that is moved reappears in the "Send" directory then the script will move it again unless it has reached the specified limit.
- if there are more than the specified number of files in the "Error" directory then the script will halt and give an error message.
Limitations:
- the script cannot keep track of the files being moved if the file name changes.
- the ERROR.LOG file that is used to keep track of the moved files will be erased at each eaxecution of the script. Prolonged running of the script may make this file become large.
- the script uses slee