wigmeister
asked on
Copy files using dos batch within a certain date/time range
I need to copy files in a folder, say c:\attach\1, to another folder, d:\attach\1, using dos batch. The complication here is that I only need to copy files within a certain time range. This copy will run about 10 times a day, and I only need to copy any new files since the the last copy was done. As an example, if the last copy was run at 4:00 PM on Monday, and the next copy is performed at 8:00 AM Tuesday, I need to retrieve any new files put in c:\attach\1 in that time span.
This will actually occur between two servers over a vpn connection and interfacing with foxpro programs. I have all of that set up. The last piece I need is to get this file copy in place.
I am trying to do this in dos since the rest of the interface between these servers is in dos, but would I be better off using vbscript, or another scripting language? As you can tell I'm not very familiar with scripting and learning as I go. Thanks for any help.
This will actually occur between two servers over a vpn connection and interfacing with foxpro programs. I have all of that set up. The last piece I need is to get this file copy in place.
I am trying to do this in dos since the rest of the interface between these servers is in dos, but would I be better off using vbscript, or another scripting language? As you can tell I'm not very familiar with scripting and learning as I go. Thanks for any help.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER