troubleshooting Question

Robocopy rename file

Avatar of ProfessionalDataSystems
ProfessionalDataSystems asked on
Microsoft DOSWindows Batch
11 Comments1 Solution14910 ViewsLast Modified:
I am copying scanned pdf's from paperport to a mapped drive. The naming for the pdf's are set in paperport as "date(1-X)" for every stack of scanned documents. If I scan in 20 documents in the morning then they will be named date(1-20). They are then transferred to a mapped drive on our network. If I again scan 20 different documents later in the same day then the names of those files will be the same as the documents I scanned in the morning, at which time the files from the morning will be overwritten. I need some means of renaming the files so that they are not overwritten. Below is the script that I am using. I am not an expert with scripts. Any help would be greatly appreciated.

COPY "C:\Users\XXXXXXXX\Documents\My PaperPort Documents\*.*" "C:\Transfer Backup"
Robocopy "C:\Users\XXXXXXXX\My Documents\My PaperPort Documents" Z:\ /MOV /S /r:3 /w:3 /log+:"C:\Transfer Logs\Transferlog.txt"
ASKER CERTIFIED SOLUTION
ProfessionalDataSystems

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros