I need to copy a large number of files from drive G to drive H. Both drive G and H are usb drives. They are connected to the T3400.
Drive G contains files in multiple directories.
Currently drive H has no data on it.
The T3400 is not a fast computer. Drive G has about 20,000 files on it. If I use Robocopy to copy all the files on drive G to drive H, the I/O is going to slow down the computer considerably.
I'd like to somehow copy say 20 files at a time from drive G to drive H
My knowledge of system programming and scripting is limited.
I thought if I could create a simple batch file containing file names on drive G then I could edit the batch file and make sure only 20 files were listed in the batch file.
I tried creating a list of files to be copied by using the DIR command:
Dir *.* /b > c:\filelist.txt
This produces a list of files but some of them are listed as:
I don't know how I would be able to write a script which would remove the <Dir> from the list.
There must be a simpler way to do this.
What process would you create to perform this task? Please give me a DETAILED answer.