Hi
I have two files that are produced on a regular basis.
I should like to keep a copy of these for up to two months.
The first file is produced from or Production Monitoring System, and records the production per machine per shift, or until the job ends.
This is picked up by the BAT file every 24 minutes and the data is transferred into our stock system before the file is deleted ready for the next file. I want to keep a copy of each file and give it a distinct name, either a date and time or an incremental number.
The other file is a backup, which I want to copy off the server, and again retain a copy for up to two months.
I tried using the for / f as suggested elsewhere but that was unexpected.
The Servers is 2003 R2, whilst the PC is XP pro.
Can anyone help?