Printer Friendly

One-button backups: creating a batch file is as easy as ...

You're racing out the door, and you need to back up key files in their latest state. But you don't have time to run a complicated and lengthy program. What should you do? Well, if you sit down just once and write a simple plain-text list of the files and directories you always need, arranging the words in an easy format, you'll be able to click a single icon to back up those valuable files from your computer to the device of your choice.

It's done with an old-fashioned sleight of hand called a batch file--something lots of people used before Windows painted over simple DOS commands, such as "copy teabiscuit.doc a:"--which basically told the computer in nearly plain English to copy the file "teabiscuit.doc" to floppy drive a:. Batch files can contain all kinds of commands. No coding is necessary. Just write down rows of commands (in this case for making backup copies) in the following format:" copy filename.ext destination." Do this once, and you can copy thousands of files with one click of the mouse on your batch file icon. Follow these easy steps:

Decide which files you want to back up often, such as key financial and customer documents, and choose a device where you want to send them, such as the drive letter "a:" for a floppy drive, or to a drive letter and directory path such as "d:\mybackups" for a backup directory you created on your second hard drive. Just open Windows Explorer to find out which drive letters your devices use. We find it best to write one batch file for carrying the few files that will fit on a floppy, then other batch files for backing up to devices that will hold entire project directories. You can make as many specialized batch files as you need, just make sure there's enough room on the device.

Using Windows Notepad, write your list of copy commands in the simple format Windows uses: copy [source file) [destination].

Here's how easy it is with real file names and drive letters:

* copy C:\Book\Chapter01.doc A:\Backup

* copy C:\Book\Chapter02.doc A:\Backup

* copy C:\Taxes\Expenses2003.xls A:\Backup.

* copy D:\Personal\GiftList.docA:\Backup.

That's it!

Save the file as plain text, and give it a name plus a .bat extension, such as PCto-A.bat. To create backups for different devices, simply change the destination letter from a: (as an example of a floppy) to f: (as an example of a USB drive).

Add your batch file to the Start Menu through Start\Settings\TaskBar and StartMenu\Start Menu\Customize\Add, and give it an icon that reminds you where the files go. (lf you back up to another PC on the network, you may need to manually connect to the network through Windows Explorer first to make sure you're logged in before running the batch file.)

Now, with one click, you can back up crucial files from all over your hard drive.
COPYRIGHT 2003 Earl G. Graves Publishing Co., Inc.
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2003, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

Article Details
Printer friendly Cite/link Email Feedback
Title Annotation:Tech 1-2-3
Author:Rohan, Rebecca
Publication:Black Enterprise
Date:Nov 1, 2003
Words:504
Previous Article:Music-go-round: Webcasters reach tentative agreement with RIAA, DiMA.
Next Article:Take one tablet.


Related Articles
One Button Disaster Recovery.
Word.
Exstream makes WebVerse available.
Using PDF files for case and practice management: you can search, edit, annotate, share, and manipulate documents stored electronically in portable...
Mirra intros the M-250GB Mirra Personal Server.
CMS Products ships 100GB ABSplus ultra portable backup and restore system.
Novastor improves online data backup model.
The care and feeding of your HSM environment.
Skip this article: (if you don't back up your computer): a few mouse clicks can save your data.
Navigate speedily in excel data: click on a button to get to target information.

Terms of use | Privacy policy | Copyright © 2018 Farlex, Inc. | Feedback | For webmasters