TheFuhrmans | ||
Family Photos, Video and Computer Advice |
|
Last Updated: December 29, 2007 Poor Man's Backup SolutionBuy an internal 80GB hard drive for about $40. It should be large enough to save your data files. Below are a few lines of programming code that will work in any version of Windows and act as the backup software. This solution won't have the safety features, easy of use, or ability to backup open files like backup software, but it's better than nothing. Use a Free Batch File for Backup SoftwareA batch file is a few lines of text that perform operations on your computer such as copying. Each line of a batch file is a different command. It's similar to running a macro or a script. How to Make a Batch FileCopy one of the batch file examples below to Windows Notepad (Start, Programs, Accessories, Notepad). Click on File, Save. When Notepad asks for a filename, type in backup.bat. It's important to type in the backup.bat since this tells Windows this file is a batch file (.bat) and can be run rather than a text file (.txt) to be displayed in Notepad A Warning About Batch FilesPlease change the commands below to match your computer setup. Batch files are powerful and lack many safety features that backup software contains. Safety features include, but are not limited to, making sure you want to copy the files to the D: drive and not some other drive, the destination drive (D: drive) has enough free space to hold all of the files you are about to copy, and you want to automatically copy over a old file with a newer version of the file. Do NOT run these batch files if you aren't comfortable in knowing what it is going to do. I take no responsibility if these commands do not match the way your computer is set up. How to Run a Batch FileTo run the batch file, open Windows Explorer (Start, Programs, Accessories, Windows Explorer) or My Computer. Navigate to the place where backup.bat is stored on the hard drive. Double click on the filename to start it. Make an Icon on Your DesktopUsing Windows Explorer (Start, Programs, Accessories, Windows Explorer) or the My Computer icon on the desktop, locate the batch file called backup.bat. Right click on the filename to make the shortcut menu appear. Click on Create Shortcut. A new file will appear called "Shortcut to backup.bat." To change the icon, right click on "Shortcut to backup.bat" to make the shortcut menu appear and click on Properties. On the Shortcut tab, click on the Change Icon button. A warning box will appear stating the shortcut does not have an icon. Click on OK to make a selection of Windows icons to appear. Choose an icon and click OK twice. I like the CD with a green arrow icon and the memory card icon. You can move the shortcut icon to the Start Menu (c:\documents and settings\{user name}\start menu) or to the desktop (c:\documents and settings\{user name}\desktop). Batch File ExamplesCopy these lines to Windows Notepad if you want to backup the entire C: drive @echo off echo Are you sure you want to backup your entire C: drive? echo This will take awhile since there are tens of thousands of files to copy. echo Press Ctrl+C to cancel or any other key to start. pause @echo on xcopy c:\*.* d:\*.* /d /e /y Copy these lines to Windows Notepad if you want to backup the data files and Windows files for Windows 2000/XP @echo off echo Are you sure you want to backup your documents and Windows folders? echo This will take awhile since there are tens of thousands of files to copy. echo Press Ctrl+C to cancel or any other key to start. pause @echo on xcopy c:\windows\*.* d:\windows\*.* /d /e /y xcopy c:\docume~1\*.* d:\docume~1\*.* /d /e /y Copy these lines to Windows Notepad if you want to backup the data files and Windows files for Windows 95/98/98SE/ME @echo off echo Are you sure you want to backup your documents and Windows folders? echo This will take awhile since there are thousands of files to copy. echo Press Ctrl+C to cancel or any other key to start. pause @echo on xcopy c:\windows\*.* d:\windows\*.* /d /e /y xcopy c:\mydocu~1\*.* d:\mydocu~1\*.* /d /e /y What Does The Code Mean?The first word in each line in the examples above is a command. xcopy c:\mydocu~1\*.* d:\mydocu~1\*.* /d /e /y
echo /? You can make the command prompt window bigger by adding this to the batch file: mode con lines=50 Previous Next |