Batch file, which are also called batch programs or scripts. Many things you can do with this utility like backup your document, outlook express,email, registry, documents and etc. You can use batch file for first aid and it's free with your operating system.
A batch file is an unformatted text file that contains one or more commands and has a .bat or .cmd file name extension.
You must open command prompt. Click start button and click run : type cmd if your operating system is win xp.
Example : Backup your folder data.
1. Create a file with name : mybackup.bat
2. type the following in mybackup.bat
xcopy C:\yourdata \*.* D:\yourbackupdata
and save. If you want use batch file, just click the file.
Note: "D:\yourbackupdata" is your destination backup place.
List commands what's your necessity :
Batch file for Backup Document
xcopy /s /c /d /e /h /i /r /k /y "%USERPROFILE%\My Documents" "D:\Mybackup"
Batch file for Backup Email and addressbook
xcopy /s /c /d /e /h /i /r /k /y "%USERPROFILE%\Application Data\Microsoft\Address Book" "D:\Mybackup\Address Book"
xcopy /s /c /d /e /h /i /r /k /y "%USERPROFILE%\Local Settings\Application Data\Identities" "D:\Mybackup\Outlook Express"
Batch file for Backup Email and Contact (MS Outlook Express)
xcopy /s /c /d /e /h /i /r /k /y "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "D:\Mybackup\Outlook"
Good luck !
Friday, 4 April 2008
Batch file for backup
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment