1.

Solve : Creating a batch file that renames a file?

Answer» RENAMING is the easy part. The problem is that I want to rename a file and overide an EXISTING file. So there will be two FILES: backup.bkf and backup_store.bkf

How can I create a batch file to rename backup.bkf to backup_store.bkf without first deleting backup_store.bkf

Thanks for any asistance
Hello?? First rename backup_store.bkf to something else.



Thanks contrex for your insight into the INCREDIBLY obvious. Perhaps it was my bad that I didn't explain that this would run nightly and that renaming the existing destination file was not an option. FORTUNATELY I found 'xcopy', which does exactly what I need.

T


Discussion

No Comment Found