J
JungleJim74
I use batch files for backup of my important files. After I have xcopied the
file I want to ECHO a notice to the user that the file has been backed up to
its new location but I need to check that the file, with the current date, is
actually there. How do I check that the file with the current date has
actually been copied to the destination file? Would something like this work?
IF EXISTS D:\BACKUP\Budget\Feb09\JLBudget2-1-09.xls ECHO The budget has been
backed up to the D:\BACKUP\Budget
I know that I need to add the check for the current date but I don't know
how to do it. Thanks in advance for any help. JungleJim74
file I want to ECHO a notice to the user that the file has been backed up to
its new location but I need to check that the file, with the current date, is
actually there. How do I check that the file with the current date has
actually been copied to the destination file? Would something like this work?
IF EXISTS D:\BACKUP\Budget\Feb09\JLBudget2-1-09.xls ECHO The budget has been
backed up to the D:\BACKUP\Budget
I know that I need to add the check for the current date but I don't know
how to do it. Thanks in advance for any help. JungleJim74