Instructor: Prof. Michael P. Harris Chapter 7
ITSC 1405 – Intro to PC Operating Systems Using ATTRIB, SUBST,XCOPY, DOSKEY & the Text Editor
Chapter 7
Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor
LEARNING OBJECTIVES
- Explain the purpose and function of the ATTRIB command.
 - Explain the purpose and function of the SUBST command.
 - Explain the purpose and function of the XCOPY command.
 - Explain the purpose and function of DOSKEY.
 - Use the text editor to create and EDIT text files.
 
STUDENT OUTCOMES
- Use the ATTRIB command to protect files.
 - Use the SUBST command to simplify long path names.
 - Use XCOPY to copy files and subdirectories.
 - Use the XCOPY parameters to copy hidden files and retain file attributes.
 - Use DOSKEY to be more efficient at the command line.
 
6. Create text files using EDIT.
CHAPTER SUMMARY
- File attributes are tracked by the operating system.
 - There are four file attributes: A (archive), H (hidden), S (system), and R (read-only).
 - The ATTRIB command allows you to manipulate file attributes.
 - The SUBST command allows you to substitute an unused drive letter for a long, unwieldy path name.
 - The XCOPY command allows you to copy files and subdirectories.
 - There are many parameters available to the XCOPY command. Among them are parameters that enable you to:
 - copy by date (/D)
 - copy hidden files (/H)
 - copy subdirectories (/S)
 - overwrite read-only files (/R)
 - copy empty directories (/E)
 - keep file attributes (/K)
 
- DOSKEY is an external, memory-resident program that loads automatically in Windows XP. It allows you to do command line editing.
 - A memory-resident program is commonly referred to as a (Terminate Stay Resident) TSR program. Once loaded into memory, it remains in memory for the duration of the session.
 - The arrow and function keys in DOSKEY allow you to do command-line editing by recalling and listing the previously keyed in commands.
 - You can create macros in a command line window.
 - On the desktop, you use Notepad to edit text files. In the Command Prompt window, you use the EDIT text editor.
 - EDIT can be used to edit or create ASCII text files.
 - In EDIT, you can use menus, the mouse, and keystrokes to edit text.
 - Text files can be imported into application programs.
 
Carolyn Z. Gillay, Bette A. Peat, Windows XP Command LinePage 1
Franklin, Beedle & Associates ©2003 ISBN: 1-887902-82-1
