Fraser_Admin
asked on
How to Rename a filename in a batch file
I have a batch file running every minute that copies "pdf" files from one server to another. Unfortunately I have users that manually scan the slips and during the naming of the file for some reason some time a file is named "filename.pdf.pdf" This makes the final process of no affect. What line can I add to the batch file that says if *.pdf.pdf exists rename to *.pdf?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You the man!!
Thanks!
Thanks!
Cheers,
Rajesh