Contents
hide
A simple batch file to copy folder and its contents to a destination folder
This will help you to keep backup of your default mail store folder periodically to other drive.
Open a notepad and type the below lines and save the notepad as backup.bat. When you double click the backup.bat file, It will start copying and with a note in command prompt the number of files copied.
@echo off
xcopy /W /E /H /R /Y “D:/copy1” “D:/backup”
pause
exit
You can replace the source and destination location as per your requirement
in my sample program – “D:/copy1” – Source
“D:/backup” – Destination
Go ahead, Do it and Enjoy
I can reach at : durgacharanojha@yahoo.co.in