DOS 6 (Mastering) / Edition 3

DOS 6 (Mastering) / Edition 3

by Herbert Schildt
     
 

ISBN-10: 0028019059

ISBN-13: 9780028019055

Pub. Date: 02/28/1994

Publisher: Glencoe/McGraw-Hill

Product Details

ISBN-13:
9780028019055
Publisher:
Glencoe/McGraw-Hill
Publication date:
02/28/1994
Series:
Mastering Series
Edition description:
BK&DISK
Pages:
386
Product dimensions:
9.45(w) x 11.42(h) x (d)

Table of Contents

PART 1 USING THE DOS SHELL
Computer Basics
3(16)
The Parts of Your System
3(1)
The System Unit
4(6)
The CPU
4(1)
Memory
4(1)
Disk Drives
5(1)
Minifloppy Diskettes
6(2)
Microfloppy Diskettes
8(1)
Handling Diskettes
9(1)
Fixed Disks
10(1)
The Monitor
10(1)
The Keyboard
10(2)
The Mouse
12(1)
The Printer
12(1)
The Modem
12(1)
Software
13(1)
What Is DOS and What Does It Do?
13(1)
DOS Versions
14(1)
Summary
14(1)
Key Terms
14(1)
Exercises
15(4)
An Introduction to the DOS Shell
19(18)
What If Things Look Different?
20(1)
Text Versus Graphics
21(1)
The DOS Shell: An Overview
21(1)
Making a Menu Selection
22(2)
Using the Keyboard
23(1)
Using the Mouse
24(1)
Moving About the Shell
24(1)
Making a Selection from the Main Group
25(1)
Using the Online Help System
25(2)
Understanding the Shell's Windows
27(1)
Dialog Boxes
28(2)
Making Backup Copies of Your Master DOS Diskettes
30(3)
Backup With Two Floppy Disk Drives
31(1)
Backup With One Floppy Disk Drive
32(1)
What to Do if Something Goes Wrong
32(1)
Labeling the Copies of the DOS Diskettes
32(1)
Restarting DOS
33(1)
Turning Off the Computer
34(1)
Summary
34(1)
Key Terms
34(1)
Exercises
35(1)
Activities
36(1)
File Manager Basics
37(18)
What Is a File?
38(1)
File Names
38(1)
The Current Drive
39(1)
DOS's Tree-Structured Directory
40(2)
Paths and Path Names
42(1)
Selecting a Directory
42(1)
Selecting the DOS Directory
42(1)
The Directory Listing
43(1)
File Types
44(1)
Text Files
44(1)
Data Files
44(1)
Program Files
45(1)
Reserved Extensions
45(1)
Internal and External Commands
45(1)
Tracks and Sectors: A Closer Look at How DOS Stores Files
46(2)
A DOS Error Message
48(1)
Formatting Diskettes
49(1)
Summary
50(1)
Key Terms
51(1)
Exercises
51(2)
Activities
53(2)
Using the File Manager
55(22)
Starting a Program
56(1)
A Closer Look at the File Manager Menu Bar
57(3)
The File Option
57(1)
Options
58(1)
The View Option
58(1)
The Tree Option
59(1)
The Help Option
59(1)
Using the Menu Bar's Hot Keys
59(1)
Viewing a File
60(1)
Drive Specifiers and Path Names
61(1)
Copying and Moving a File Using the Keyboard
62(2)
Copying and Moving a File Using the Mouse
64(1)
Erasing Files
65(1)
Renaming a File
65(1)
Changing the Way Files Are Displayed
65(4)
Looking for Specific Files
66(1)
Wildcard File Names
66(2)
Changing the Sorting Order
68(1)
Displaying Hidden and System Files
69(1)
Display the Directory in Descending Order
69(1)
Displaying Information About a File
69(1)
Arranging the Screen
70(1)
Summary
71(1)
Key Terms
71(1)
Exercises
72(1)
Activities
73(1)
Business Case Study
74(3)
PART 2 ADVANCED SHELL FEATURES
Advanced File Manager Features
77(18)
Creating Directories
78(1)
Creating the WP and WP/FORMLET Subdirectories
78(1)
Creating Subdirectories in General
79(1)
Creating the Rest of the Subdirectories
79(1)
Removing a Directory
79(1)
Using the Tree Menu Bar Option
80(1)
Copying Files Between Directories
81(2)
Replacing a File
82(1)
The Current Directory
83(1)
Directory Capacities
83(1)
Managing Your Directories
83(1)
Changing a File's Attributes
84(1)
Associating Files
85(2)
Working With Groups of Files
87(1)
Selecting Multiple Files
87(1)
Selecting and Deselecting All Files
87(1)
Copying Groups of Files
88(1)
Deleting Groups of Files
88(1)
Eliminating the Confirmation Windows
88(1)
Selecting Files Across Directories
89(1)
A Closer Look at the Show Information Window
89(1)
Using the Task Manager
89(3)
Starting a Task
90(1)
Switching Between Tasks
91(1)
Terminating a Task
92(1)
Running Out of Disk Space
92(1)
Summary
92(1)
Key Terms
93(1)
Exercises
93(1)
Activities
94(1)
Using the Program Manager and Miscellaneous Topics
95(18)
Executing Programs Using the Run Option
96(2)
Running a Series of Commands
97(1)
Using the Program Manager
98(1)
Groups Versus Subgroups
98(1)
Adding a Program to the Main Group
98(2)
Program Properties
100(2)
Advanced Properties
101(1)
Specifying Program Parameters Using the Program Manager
102(3)
Specifying Multiple Parameters
104(1)
Crating a Subgroup
105(1)
Adding a Program to a Subgroup
106(1)
Copying Programs Between Groups
107(1)
Deleting a Program From a Group
107(1)
Deleting a Group
107(1)
Reordering Programs Within a Group
107(1)
Using a Password
108(1)
The Program Manager's Run Option
108(1)
Some More Shell Editing Keys
108(1)
Summary
109(1)
Key Terms
109(1)
Exercises
110(1)
Activities
111(2)
Using the DOS Editor
113(18)
Editor Commands
114(1)
Invoking the Editor and Entering Text
114(2)
Deleting Characters, Words, and Lines
116(1)
Moving, Copying, and Deleting Blocks of Text
117(1)
More on the Clipboard
118(1)
More on Cursor Movement
119(1)
Finding and Replacing
119(2)
Setting and Finding Place Markers
121(1)
Saving and Loading Your File
121(1)
Printing the File
122(1)
Auto-Indentation
122(1)
Entering Control Characters
122(1)
Command Summary
123(1)
Setting Some Editor Options
123(1)
Summary
123(2)
Key Terms
125(1)
Exercises
125(1)
Activities
126(1)
Business Case Study
127(4)
PART 3 INTRODUCING THE COMMAND PROMPT
Using the Command Prompt
131(20)
Why Use the Command Prompt?
132(1)
Activating the Command Prompt
132(1)
No Mousing at the Command Prompt
132(1)
The Sign-On Message and the DOS Prompt
133(1)
A Note to Fixed Disk Users
133(1)
A First Look at the DIR Command
133(2)
Returning to the Shell
135(1)
Another Command
135(1)
Changing the Current Drive
135(1)
A Closer Look at DIR
136(1)
Two DIR Options
136(1)
Looking for Specific Files Using DIR
136(1)
Wildcard File Names
137(1)
Listing Other Directories Using DIR
137(1)
Another Way to Stop the Directory Display
138(1)
A Command Line Error Message
138(1)
Command Prompt Error Messages: An Overview
139(2)
Bad Command or File Name
140(1)
General Failure
140(1)
Insufficient Disk Space
140(1)
Invalid Drive Specification
140(1)
Non-DOS Disk
140(1)
Nonsystem Disk or Disk Error
140(1)
Sector Not Found
140(1)
Seek Error
141(1)
Clearing the Screen
141(1)
An Introduction to the COPY Command
141(2)
Using Wildcards With COPY
142(1)
The TYPE Command
143(1)
Some More DIR Options
143(2)
Sorting the Directory Using DIR
144(1)
Listing All Files on a Disk
145(1)
Miscellaneous DIR Options
145(1)
The DOS Editing Keys
145(3)
The F1 Key
146(1)
The F2 Key
146(1)
The F3 Key
147(1)
The ESC Key
147(1)
The DEL Key
147(1)
Using F4 to Delete Several Characters
147(1)
The INS Key
148(1)
The F5 Key
148(1)
Summary
148(1)
Key Terms
148(1)
Exercises
149(1)
Activities
150(1)
The DOS Command Prompt: A Closer Look
151(16)
Printing a Text File on a Printer
152(2)
Canceling a Printout
153(1)
Printing Multiple Files
153(1)
Removing Files From the Print Queue
153(1)
Setting the Queue Size
154(1)
Using the Shell's Print Option
154(1)
Removing Files From a Disk
154(1)
Changing File Names
155(1)
Canceling a Command
156(1)
A COPY Option
156(1)
Working With Directories
157(5)
Creating a Directory
157(1)
Changing Directories
158(1)
Creating Subdirectories Within a Subdirectory
159(1)
Returning to the Parent Directory
159(1)
Returning to the Root Directory
160(1)
Creating More Directories
160(1)
Moving Between Directories
160(1)
Displaying the Current Directory Name
161(1)
Removing a Directory
161(1)
The TREE Command
162(1)
TREE Options
162(1)
Getting Help
163(1)
Summary
163(1)
Key Terms
164(1)
Exercises
164(1)
Activities
165(2)
More DOS Commands
167(32)
LABEL and VOL
168(1)
What Is a Volume Label?
168(1)
Using LABEL
168(1)
VOL
169(1)
Formatting Diskettes
169(2)
Specifying a Volume Label
170(1)
Putting the System Files on a Diskette
170(1)
Leaving Room for the System Files
171(1)
Two Ways to Format
171(1)
Transferring the System With SYS
171(1)
The VERIFY Command
172(1)
XCOPY: An Expanded COPY Command
173(3)
Copying Files
173(1)
Copying Groups of Directories
174(1)
Using the Archive Attribute
175(1)
Using the Date Option
175(1)
Query Before Copy
176(1)
The /W Option
176(1)
Verifying the Copy
176(1)
Replacing Files
176(2)
Printing the Screen
178(1)
Printing Graphics Images
178(1)
Checking a Diskette Using CHKDSK
179(2)
Disk Errors
180(1)
Another CHKDSK Option
181(1)
Backing Up a Diskette
181(2)
When to Back Up Diskettes
183(1)
Comparing Two Files Using COMP
183(3)
A Comparison Showing Differences
184(1)
Comparing Files on Separate Diskettes
185(1)
Some COMP Options
186(1)
Comparing Files Using the FC Command
186(2)
Comparing Diskettes
188(1)
The DATE and TIME Commands
189(1)
ATTRIB
190(1)
Summary
191(1)
Key Terms
191(1)
Exercises
192(1)
Activities
193(1)
Business Case Study
194(5)
PART 4 MASTERING ADVANCED DOS COMMANDS
Batch Files
199(22)
What Are Batch Files?
200(1)
Two Simple Batch Files
200(1)
How It Works
200(1)
A Second Example
200(1)
Canceling a Batch Command
201(1)
Adding Parameters
201(1)
Replaceable Parameters
202(1)
Special Batch File Commands
202(13)
The ECHO Command
202(1)
Suppressing Echo One Line at a Time
203(1)
The PAUSE Command
204(1)
Adding Remarks
204(1)
The IF Command
205(2)
Using the NOT
207(1)
Using the GOTO
207(1)
The CALL Command
208(1)
Repeating Commands With FOR
209(1)
Using SHIFT
210(1)
Processing User Choices Using CHOICE
211(4)
Executing a Batch File from Within a Batch File
215(1)
Adding a Batch Command to the Program Manager
215(1)
AUTOEXEC.BAT
215(1)
Summary
216(1)
Key Terms
217(1)
Exercises
217(1)
Activities
218(3)
Redirecting I/O
221(16)
Standard Input and Standard Output
221(1)
Redirecting Output to a File
222(2)
Redirecting Input to a File
224(1)
Redirecting I/O to Other Devices
225(1)
Using CTTY
226(1)
Filters
226(5)
MORE
226(1)
FIND
227(2)
SORT
229(1)
Sorting on a Specific Column
230(1)
PIPES
231(1)
Putting It All Together---Creating Simple Databases
232(1)
Summary
233(1)
Key Terms
233(1)
Exercises
234(1)
Activities
235(2)
Using DOSKEY to Expand the Command Line Interface
237(8)
Accessing Your Command History
238(1)
DOSKEY's Expanded Editing Keys
239(1)
Using Macros
240(2)
Increasing the Power of Macros
241(1)
Some DOSKEY Options
242(1)
Summary
243(1)
Key Terms
243(1)
Exercises
244(1)
Activity
244(1)
Recovering From Mistakes
245(12)
Undeleting a File
246(1)
Undeleting Specific Files
247(1)
Using Deletion Tracking to Help UNDELETE
248(1)
Using a Delete Sentry to Help UNDELETE
249(1)
Some UNDELETE Options
250(1)
Unformatting a Disk
250(1)
Summary
251(1)
Key Terms
251(1)
Exercises
252(1)
Activities
253(1)
Business Case Study
254(3)
PART 5 MANAGING YOUR SYSTEM
Defending Against Viruses
257(10)
How a Virus Infection Takes Place
258(1)
Using MSAV
258(3)
How to Use MSAV
261(1)
Listing Known Viruses
262(1)
Using VSAFE
262(1)
Putting VSAFE in Your AUTOEXEC.BAT File
263(1)
Final Thoughts on Virus Protection
264(1)
Summary
264(1)
Key Terms
264(1)
Exercises
265(1)
Activities
265(2)
Configuring DOS
267(26)
Using the MODE Command
268(5)
Controlling the Video Adapter
268(1)
Setting the Autorepeat Rate and Delay
269(1)
Configuring the Printer
270(1)
Configuring the Serial Port
270(1)
Redirecting Printer Output
271(1)
Checking Status
272(1)
Changing the DOS Prompt
272(1)
Using the CONFIG.SYS File
273(6)
BREAK
274(1)
COUNTRY
274(1)
DEVICE
275(1)
ANSI.SYS
276(1)
RAMDRIVE.SYS
276(1)
SMARTDRV.EXE
277(1)
FILES and FCBS
278(1)
INSTALL
278(1)
LASTDRIVE
279(1)
REM
279(1)
Bypassing the CONFIG.SYS File
279(1)
Using NUMLOCK
279(1)
Using Extra Memory
280(1)
using the PATH Command
281(1)
The APPEND Command
282(2)
ASSIGN
283(1)
Using the SUBST Command
284(2)
JOIN
285(1)
International Configurations
286(1)
The KEYB Command
286(2)
Using SETVER
288(1)
Summary
289(1)
Key Terms
289(1)
Exercises
290(2)
Activities
292(1)
Floppy Disk Management
293(8)
Balancing DOS and Applications on Your Work Disk
294(2)
Which DOS Files Are Needed?
294(1)
U.S. English-Language Usage
294(1)
Removing Device Drivers
295(1)
Removing Formatting and DOS Transfer Commands
295(1)
Programmer-Related Commands
295(1)
Fixed-Disk Commands
295(1)
Seldom-Used Commands
296(1)
Floppy Disks and Subdirectories
296(1)
Backing Up Floppy Disks
296(3)
Sources of Data Loss
297(1)
The Backup Routine
298(1)
Backing Up a Disk
298(1)
Recovering Data
298(1)
Mailing Diskettes
299(1)
Summary
299(1)
Exercises
299(2)
Managing Your Fixed Disk
301(24)
How Fixed and Floppy Disks Differ
302(1)
Backing Up the Fixed Disk
302(4)
Backing Up Your Fixed Disk Using BACKUP
303(1)
Backing Up an Entire Drive
303(1)
Backing Up Portions of the Fixed Disk
304(1)
Adding Files to Backup Diskettes
304(1)
Backing Up Files Modified on or After a Specified Date
305(1)
Backing Up Files Modified on or After a Specified Time
305(1)
Backing Up Only Files That Have Changed
305(1)
Adding a Log File
306(1)
Backing Up Floppies With BACKUP
307(2)
Restoring Files Using RESTORE
307(1)
Restoring the Entire Fixed Disk
308(1)
Restoring Individual Files
308(1)
Restoring Files by Date and Time
308(1)
Restoring Modified Files
309(1)
Prompted Restoration
309(1)
Special Considerations When Using RESTORE
309(1)
Backing Up Using MSBACKUP
309(2)
Menu and Window Selection in MSBACKUP
310(1)
Executing MSBACKUP for the First Time
311(1)
Backing Up Your Entire Drive
311(2)
Methods of Backup
312(1)
Back Up Selected Files
313(2)
Some Options When Selecting Files
315(1)
Catalogs
315(1)
Restoring Files Using MSBACKUP
315(1)
The Backup Routine for Fixed Disks
316(1)
Who Is Responsible?
317(1)
Using FASTOPEN
317(1)
Defragmenting Your Disk
318(3)
Loading Applications to the Fixed Disk
321(1)
Application Subdirectories
321(1)
User Subdirectories
322(1)
Preparing the Fixed Disk for Shipment
322(1)
Summary
323(1)
Key Terms
323(1)
Exercises
323(1)
Activities
324(1)
Miscellaneous Topics
325(53)
FDISK
326(1)
The SET Command
326(1)
Recovering Files From a Damaged Disk
327(1)
Using MOVE
328(1)
Removing an Entire Directory Tree Using DELTREE
328(1)
Using DBLSPACE to Increase Disk Space
329(1)
Using MEMMAKER to Free Memory
330(1)
Using POWER to Conserve Battery Power
331(1)
Linking to a Network
332(1)
Maintaining Your System
332(1)
Maintaining the Hardware
332(1)
Maintaining the Software
332(1)
The Shell Versus the Command Prompt
333(1)
Final Thoughts
333(1)
Key Terms
334(1)
Exercises
334(1)
Activity
335(1)
Business Case Study
336(5)
PART 6 APPENDICES
Appendix A: EDLIN: The Original DOS Text Editor
341(14)
What EDLIN Is and Isn't
342(1)
Executing EDLIN
342(1)
Some EDLIN Basics
342(1)
Creating a Text File
342(1)
Entering Text
343(1)
Listing the File
343(1)
Terminating EDLIN
344(1)
Re-editing a File
344(1)
The Current Line
345(1)
EDLIN Commands
345(1)
Inserting Text
346(1)
Deleting Lines
346(1)
Listing the File
347(1)
Editing Lines
347(1)
Copying Lines
348(1)
Moving Lines
349(1)
Searching
350(1)
Replacing Text
351(1)
The Page Command
352(1)
End Edit and Quit
352(1)
Transferring Text Between Files
352(1)
Append and Write
353(2)
Appendix B: Quick Command Reference
355(23)
Append
356(1)
Assign
356(1)
Attrib
356(1)
Backup
357(1)
Break
357(1)
Call
358(1)
Chcp
358(1)
Chdir
358(1)
Chkdsk
358(1)
Choice
359(1)
Cls
359(1)
Comp
359(1)
Copy
359(1)
Ctty
360(1)
Date
360(1)
Dblspace
360(1)
Debug
360(1)
Defrag
361(1)
Del
361(1)
Deltree
361(1)
Dir
361(1)
Diskcomp
362(1)
Diskcopy
363(1)
Doskey
363(1)
Dosshell
363(1)
Echo
363(1)
Edit
363(1)
Edlin
363(1)
Erase
364(1)
Exit
364(1)
Fastopen
364(1)
Fc
364(1)
Fdisk
365(1)
Find
365(1)
For
365(1)
Format
365(1)
Goto
366(1)
Graftabl
366(1)
Graphics
366(1)
Help
367(1)
If
367(1)
Join
368(1)
Keyb
368(1)
Label
368(1)
Loadhigh
368(1)
Mem
369(1)
Memmaker
369(1)
Mkdir
369(1)
Mode
369(1)
More
369(1)
Move
370(1)
Msav
370(1)
Msbackup
370(1)
Nlsfunc
370(1)
Path
371(1)
Pause
371(1)
Power
371(1)
Print
371(1)
Prompt
372(1)
Recover
372(1)
Rem
373(1)
Rename
373(1)
Replace
373(1)
Restore
373(1)
Rmdir
374(1)
Set
374(1)
Setver
374(1)
Share
375(1)
Shift
375(1)
Sort
375(1)
Subst
376(1)
Sys
376(1)
Time
376(1)
Tree
376(1)
Type
377(1)
Undelete
377(1)
Unformat
377(1)
Ver
377(1)
Verify
378(1)
Vol
378(1)
Vsafe
378(1)
Xcopy
378

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >