Quantcast
PCWorld.com is upgrading some back-end systems. Some site features, such as user registration, may be temporarily unavailable.

Blogs

    Answer Line

  • From Windows to wireless, Contributing Editor Lincoln Spector finds solutions to readers' most vexing PC problems.
  • Subscribe to this blog

Answer Line: Easy Backups With WinZip and Freeware

Lincoln Spector

I've never backed up my data. How do I go about doing this?

Gary Oleson, Howard Lake, Minnesota

The Spector Backup System stores your backups in .zip archives and works with any media that Windows sees as a regular drive, including a second hard drive, flash RAM, and CD-RW discs. And apart from WinZip Computing's $29 WinZip compression shareware, the Spector Backup System is free; download a 30-day trial version of WinZip.

My method requires one short batch file, a couple of extra text files, and two or three free programs. Place the files and programs (except WinZip) on your media of choice. In the downloadable archive called backupme98.zip are the files for Windows 98 and Me; in backup2kxp.zip you'll find files that work with Win 2000 and XP.

The three required freebies (download them all at once in the archive called backup_utils.zip) are the WinZip Command Line Support Add-On, Paul Saletan's DateFile, and Jem E. Berkes's Ask, which is part of Berkes's DOS Utilities Collection. The WinZip add-on installs like any other Windows program, but DateFile and Ask are old DOS tools that you simply unzip to your backup media. (Ask is needed only if you use Windows 2000 or XP.)

The heart of this backup technique is the batch file backup.bat, which you can create with Notepad or any other text editor (FIGURE 1 shows the version for Windows 98 and Me). Note that the command cls must be on the very last line, without even a blank line after it. For Windows 2000 and XP, change the third line to read ask F)ull or P)artial backup? C)ancel ~fpc. And you can skip that last 'cls' line.

The next file, backup.txt, is a list of the folders you'll back up. For Windows 2000 and XP, I recommend only one line: c:\documents and settings. If you use Windows 98 or Me, add a separate line to this text file for each of these folders:

c:\my documents
c:\windows\all users
c:\windows\application data
c:\windows\desktop
c:\windows\favorites
c:\windows\local settings
c:\windows\profiles
c:\windows\sendto
c:\windows\start menu

The third file, nobackup.txt, contains exceptions--files and folders you don't want to back up. Again, every item here must be on a separate line. For Win 2000 or XP, list index.dat, ntuser.dat*, usrclass.dat*, and *\temporary internet files\*.*.

If you use CDs for your backups, you need software that allows Windows to treat the CD as if it were a big floppy disk. Most CD-RW drives come with DirectCD, Drag-To-Disk, InCD, or another such CD-writing program. CD users have an advantage: By adding the text file autorun.inf to the backup CD, you can have a backup launch automatically when the disc is inserted in the drive. To set up this system, open Notepad and type two lines:

[autorun]
open=backup.bat

Save the file as autorun.inf on your CD.

If you're not using a CD, you can create a shortcut to your backup by dragging the file backup.bat from your backup media to the Start menu. And, of course, you can start your backup by double-clicking the file in Explorer or any folder window.

However you launch it, backup.bat asks if you want to back up everything or just the files created or changed since your last backup. The file then displays a list of the .zip files it placed on your backup media. Use any program that reads .zip files to restore your backup.

  • Recommend this story?
  • 0 Yes
    0 No
  • Great year-end deals
    for small business!
  • Get 24/7 live remote AT&T Tech Support 360* service along with select Lenovo* PCs (with Intel® Core™ 2 Duo processors) and save up to 200!

    Learn more

  • HP EliteBook* 6930p Notebook with Intel® vPro™ technology and a free HP Basic Docking Station - $641 instant savings!

    Learn more

Learn more about the Windows Phone PCWorld Gift Guide

Focus on Personal Productivitysponsored by Microsoft

  • Personal Finance 2.0 These free and fee-based Web services not only aggregate data from your online bank accounts, they give you tools for managing your money.
  • High-Tech Travel Tips Plenty of stories provide advice for elite mobile professionals. But what about you, the unproductive traveler?

People who read this also read:

Answer Line

All PC World Blogs

  • 15 Minutes to a Secure Business Get the Secure in 15 toolkit starting with the "15 Minutes Month-at-a-Glance" calendar. McAfee will send you additional tools and tricks to stay protected around the clock.
  • A Buyer's Guide to Data Protection Implementing data protection products and processes can be daunting. Make the right decisions by exploring what is available and what makes sense for your organization. Use this simple guide to evaluate different vendor offerings.

Sponsored Links