EICS
Member
I need to write a simple Batch file Copy.BAT to copy a file.
lets call the original file c:\folder\FileA.xlsx and the New one c:\folder\FileA_Copy.xlsx
so what I need is
if file FileA_Copy.xlsx already exists in the directory c:\folder to delete it first and then make a copy of file FileA.xlsx as
FileA_Copy.xlsx
im very rusty on dos style commands anyone keen to write it for me i know its only a few lines of code but I cannot remember the syntax
thanks in advance.
lets call the original file c:\folder\FileA.xlsx and the New one c:\folder\FileA_Copy.xlsx
so what I need is
if file FileA_Copy.xlsx already exists in the directory c:\folder to delete it first and then make a copy of file FileA.xlsx as
FileA_Copy.xlsx
im very rusty on dos style commands anyone keen to write it for me i know its only a few lines of code but I cannot remember the syntax
thanks in advance.
Last edited: