1.

Solve : Bat File Back Up?????

Answer»

I would like to make a .bat file in notepad to COPY a file in a drive to another drive for example...

C:\Users\admgeorgew94\Documents\Matrix
copy to
G:\Backup\shared\Matrix

Thanks

Code: [Select]copy "C:\Users\admgeorgew94\Documents\Matrix\file1.txt" "G:\Backup\shared\Matrix\"Thank you how would I include sub folders?Quote from: georgew94 on November 08, 2014, 09:50:03 AM

Thank you how would I include sub folders?
You would need to use the XCOPY command then. But without further specifics I would not suggest you attempt that YET. BASED on the information you have given so far it sounds like you want to copy the file named file1.txt in all sub folders to one specific destination directory. That would cause the command to prompt you to overwrite the file every time unless you suppressed prompting for an overwrite. But logically it would not make sense to do what I am INTERPRETING at all.


Discussion

No Comment Found