Maybe some batch file kings here can solve this for me please.
I need a batch file that will copy a Folder or File from one drive to another and back, a defined number of times.
Something like....
Step 01.....Copy D:/Transfers - 00 to F:/ and rename to F:/Transfers - 01
Step 02.....Copy F:/Transfers - 01 to D:/ and rename to D:/Transfers - 02
and so on a defined number of times, and perhaps with a defined time delay between transfers.
So the same Folder or File is copied back and forth between the drives and builds numbered directory lists, with odd numbers of transfers stored on F:, and even numbers of transfers stored on D:.
I have tried doing this manually but it becomes tedious and is prone to error, and there seems to be an issue with the clipboard writing the new file and not actually a drive to drive data transfer.
Any help will be very much appreciated.
Dan.
I need a batch file that will copy a Folder or File from one drive to another and back, a defined number of times.
Something like....
Step 01.....Copy D:/Transfers - 00 to F:/ and rename to F:/Transfers - 01
Step 02.....Copy F:/Transfers - 01 to D:/ and rename to D:/Transfers - 02
and so on a defined number of times, and perhaps with a defined time delay between transfers.
So the same Folder or File is copied back and forth between the drives and builds numbered directory lists, with odd numbers of transfers stored on F:, and even numbers of transfers stored on D:.
I have tried doing this manually but it becomes tedious and is prone to error, and there seems to be an issue with the clipboard writing the new file and not actually a drive to drive data transfer.
Any help will be very much appreciated.
Dan.
Methinks you're going to need the MSDOS commands set and if . You'll probably use the /a flag with the set commend ... tells DOS the right hand side of the equals sign is a numerical quantity, i.e., this is an arithmetic set. a is the flag for arithmetic.
Thanks Mark, I do understand that a DOS routine is the deal.
Trouble is I have never bothered to learn msdos properly, let alone higher languages.
I need all the help I can get 😕.
Dan.
Trouble is I have never bothered to learn msdos properly, let alone higher languages.
I need all the help I can get 😕.
Dan.
- Status
- Not open for further replies.