DOC PREVIEW
DMC ITSC 1405 - Chapter 5 Internal Commands

This preview shows page 1-2-3-4-5 out of 14 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 14 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Chapter 5CHAPTER OUTLINETEACHING SUGGESTIONSWHY LEARN COMMAND LINE COMMANDS?THE COPY COMMANDREVIEW OF FILE-NAMING RULESACTIVITY—MAKING COPIES OF FILESUSING LONG FILE NAMESACTIVITY—COPYING FILES WITH LONG FILE NAMESUSING WILDCARDS WITH THE COPY COMMANDACTIVITY—USING WILDCARDS WITH THE COPY COMMANDTHE TYPE COMMANDACTIVITY—DISPLAYING FILES USING THE TYPE COMMANDDUMMY FILESACTIVITY—USING THE COPY AND TYPE COMMANDSMAKING ADDITIONAL FILES ON THE SAME DISKACTIVITY—USING THE COPY COMMANDUSING WILDCARDS WITH THE COPY COMMANDACTIVITY—USING WILDCARDS WITH THE COPY COMMANDUSING COPY AND DIR WITH SUBDIRECTORIESACTIVITY—USING COPY WITH SUBDIRECTORIESUSING SUBDIRECTORY MARKERS WITH THE COPY COMMANDACTIVITY—USING SHORTCUTS: THE SUBDIRECTORY MARKERSOVERWRITING FILES WITH THE COPY COMMANDACTIVITY—OVERWRITING FILES USING THE COPY COMMANDCOMBINING TEXT FILES WITH THE COPY COMMANDACTIVITY—COMBINING FILES USING COPY COMMANDPRINTING FILESPRINTING IN A LAB ENVIRONMNETACTIVITY—PRINTING FILESInstructor: Prof. Michael P. Harris Chapter 5ITSC 1405 – Intro to PC Operating Systems Internal Commands – COPY and TYPEChapter 5Internal Commands — Copy and TypeLECTURE NOTESCHAPTER OUTLINE TEACHING SUGGESTIONSChapter Overview- Will review file-naming rules.- Will learn some internal commands that can be usedto manage and manipulate files.- The value of creating and using dummy files will beexplained.- Will experience naming, managing, manipulating, viewing, and printing files.- Will use COPY and TYPE commands to perform various tasks.- Both concatenation and the consequences of overwriting files will be discussed.WHY LEARN COMMAND LINE COMMANDS?- Why Learn Command Line Commands?- Quick review of directory management commands.- MD - make directory.- CD - display current directory and path.- RD - remove a directory/subdirectory.- Directories.- Largest unit of information management.- Used to organize program and data files.- File level.- Place to manage information in smaller quantities (housekeeping tasks).- Copying files from one directory or one disk to another.- Eliminating files no longer needed.- Housekeeping tasks different from creating/changing data within file.- Must use application program that created data file to change data in file.- Managing files.- In Windows use Explorer and My - Slides 2-7 Chapter Overview duplicated in PowerPoint slides. After completion of lecture, suggest to students that they review Objectives andOutcomes found on first page of chapter as a check to see if they have mastered concepts.SECTION 5.1 (pp.185-186)- Slides 8-13  Discuss function/purpose of internal commands.- Once system booted, they stay in memory and are available for use until computer turned off.- Used to manipulate files.- - Manipulating files is different than creating or changing data in files.- Deal with files as objects – not dealing with contents of files.- Used to manipulate files.- Discussion Question (1) - Explain the function and purpose of internal commands.Carolyn Z. Gillay, Bette A. Peat, Windows XP Command Line, Instructor’s ManualFranklin, Beedle & Associates ©2003 Page 1Instructor: Prof. Michael P. Harris Chapter 5ITSC 1405 – Intro to PC Operating Systems Internal Commands – COPY and TYPEComputer to manage files.- Learn command line to understand:- File manipulation.- Disk and subdirectory structure.- Some tasks done easier/faster at command line.- Copy and rename file takes 2 steps at GUI.Only 1 step at command line.- Internal commands that help manage files.- DIR - see what files are on disk.- COPY - make copies of files.- RENAME - change names of files.- DEL - eliminate files.- TYPE - display contents of files.THE COPY COMMAND- The COPY Command- Internal command.- Makes identical copy of file (source file) and places file where you want it (destination).- Reasons for copying files:- Copy from one disk to another.- Used as backup in case something goes wrong- Copy file from one computer to another- Make second copy to existing file on same disk.- Copy file to device.- If device printer – must be ASCII file.- Making changes of existing file with program that created it – if you don’t like changes can go back to original.- Cannot have two files with same name in same directory but can havethem in different directories.- Use OS to perform housekeeping tasks – rather than creating copies inapplication package - do it at OS level.- COPY syntax:COPY [drive:] [path] filename [drive:] [path] filename- Conceptually - COPY source destination.- [drive:] - where file is located.SECTION 5.2 (pp. 186-187)- Slides 14-17  Copying file does not alter original. Selectively copy files instead of entire disks. For each method of copying files give reasons/examples of why done. ASCII file - File contains no “codes” such as bold or italic. Copy (command), source (file to be copied), and destination (where copied to) are all mandatory. Drive and path do not need to be specified in using default drive and subdirectory.- Discussion Question (2) - Give two reasons for making a copy of a file on the same disk.- Discussion Question (3) - Give the syntax for the COPY command and explain each part of the syntax.Carolyn Z. Gillay, Bette A. Peat, Windows XP Command Line, Instructor’s ManualFranklin, Beedle & Associates ©2003 Page 2Instructor: Prof. Michael P. Harris Chapter 5ITSC 1405 – Intro to PC Operating Systems Internal Commands – COPY and TYPE- [path] - subdirectory where file is located.- Filename - name of file to be copied.- OS prior to Windows 95 no spaces between file name and file extension.- In Windows, LFN must be enclosed in quotes.- WUGXP subdirectory contains practice data files that you will work with so that you do not have to worry about harming your "real" program or "real" data files. REVIEW OF FILE-NAMING RULES- Review of File-naming Rules- File name (file specification) has two parts.- File name.- File specification.- File naming rules – PowerPoint slides.- Names of files in a directory must be unique.- No file name can be longer than 255 characters, including the file extension.- File extensions are optional.- File name separated from its extension with a period, called a dot.- All alphanumeric characters can be used in file names and file extensions except the following (illegal or forbidden) characters: - " / \ : | < > * ? - Program files.- Usually do not name program files - names are


View Full Document

DMC ITSC 1405 - Chapter 5 Internal Commands

Documents in this Course
Firewall

Firewall

53 pages

Syllabus

Syllabus

11 pages

Load more
Download Chapter 5 Internal Commands
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter 5 Internal Commands and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter 5 Internal Commands 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?