Notepad is one of the essential tool for a computer programmer . There is no programming language as such which cannot be coded in Notepad. But the main purpose for which notepad is used to create .bat files which are also known as batch files.
In this tutorial , I going to show How to Create Backup Program Using Notepad . But before we start the tutorial, Lets see what this Backup Program can do. This is simple yet intelligent program which First of all checks whether this program has been run before . If yes , then it will simply backup the content modified after the last backup from one folder to another folder . Well , check it out !!
How To Create Backup Program Using Notepad :-
- Open Notepad .
- Just type the following code in notepad :-
XCOPY c:\original folder c:\destination folder /m /e /y
- Please note that original folder stands for the folder whose backup has to be taken and destination folder stands for the folder where you want the backup to be saved .
- Next, save the file as backup.bat .
- Now , simply double click the backup.bat file and see the backup of required folder. Don’t believe us, check the screen shots ……
Have Anything To Add To This , Feel Free To Comment So……..