I thought I will never be using 8.3 Short Filename and ditching them away for good… but boy I was wrong!
Ever heard of this another great little tool called “RichCopy”? It’s done by a Microsoft programmer who produced an in-house tool called RichCopy (Look for version 2.51, no install required 188Kbyte size) that would run 3 threads and has many options about target / source copy with ACL or delta by size, time, ....
The problem with File Explorer or those who are a bit more advanced would use Robocopy is that it runs only with a single thread. That is, it will copy 1 file at a time and sometimes if there are a lot of files and if the copying process somehow breaks halfway, you have to restart all over again. With RichCopy, it will skip those files that already existed in the destination folder and running it with multiple threads, it can synchronize files between 2 folders extremely fast!
Btw, if you are copying 1 large file, using RichCopy is no different from using File Explorer since it couldn’t spawn multiple threads.
Now, back to the main storyline… :) This RichCopy tool is already 13 years old and the batch command line doesn’t really like “spaces” or quotation marks “”. But I have 2 folders with names that have spaces in them. So, in my batch script, in order to get it working, I have to resort back to 8.3 short filename. Well, you can say “Hey, why not use another newer tool?” If anyone knows of another great tool like this, please let me know! Trust me, this is the BEST file copying tool I’ve known. Here is a sample of the batch script.
net use z: "\\<servername>\c$\Documentation" /user:<username> <password>
RichCopy2.51.exe z:\ D:\Docume~1\ /F /O /R 30000 /T 3 /I 1000 /LL 2
net use z: /delete /y
I’ve tried enclosing the source & destination paths with quotation marks, single quotation marks, etc but to no avail. If anybody knows how, please do share it with me yah. Better still, any newer equivalent great little tool like this?! Thanks in advance.
Tips
To get the short filename, go to command prompt and type “dir /x”.