+ All Categories
Home > Documents > Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text...

Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text...

Date post: 27-Feb-2021
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
60
Ch 7 1 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor
Transcript
Page 1: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 1

Using ATTRIB, SUBST,

XCOPY, DOSKEY, and the

Text Editor

Page 2: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 2

Overview

The purpose and function of file attributes will be

explained.

Page 3: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 3

Overview

Utility commands and programs will be used to manipulate files and subdirectories to make tasks at the command line easier to do.

Page 4: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 4

OverviewThis chapter will focus on the following commands and programs:

ATTRIB XCOPY DOSKEY EDIT

Page 5: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 5

File Attributes and the ATTRIB Command

Root directory keeps track of information about every file

on a disk.

Page 6: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 6

File Attributes and the ATTRIB Command

Each file in the directory

has attributes.

Page 7: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 7

File Attributes and the ATTRIB Command

Attributes represented by single letter:

S - System attribute

H - Hidden attribute

R - Read-only attribute

A - Archive attribute

Page 8: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 8

File Attributes and the ATTRIB Command

NTFS file system:

Has other attributes

At command line only attributes

can change with ATTRIB

command are S, H, R, and A

Page 9: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 9

File Attributes and the ATTRIB Command

ATTRIB command:

Used to manipulate file attributes

Page 10: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 10

File Attributes and the ATTRIB Command

ATTRIB command syntax:

ATTRIB [+R | -R] [+A | -A] [+S | -S]

[+H | -H] [[drive:] [path] filename]

[/S [/D]]

Page 11: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 11

File Attributes and the ATTRIB Command

Attributes most useful to set and unset:

R - Read-only

H - Hidden

Page 12: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 12

File Attributes and the ATTRIB Command

The A attribute (archive bit)

signals file has not beenbacked up.

Page 13: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 13

File Attributes and the ATTRIB Command

XCOPY command

can read the archive bit.

Page 14: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 14

File Attributes and the ATTRIB Command

File attributes can be changed from Windows Explorer.

Easier to do these tasks from command prompt.

Page 15: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 15

Activity—Using ATTRIB to make Files Read-Only

KEY CONCEPTS:

Using + or - alters attribute

Cannot overwrite or delete read-

only files

Can delete read-only files with /F

parameter with DEL command

Page 16: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 16

Using Hidden & Archive Attributes with ATTRIB

H attribute used to hide file so

when DIR command is used

the file name is not displayed.

Page 17: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 17

Using Hidden & Archive Attributes with ATTRIB

Using hidden attribute allows for manipulation of files.

Page 18: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 18

Using Hidden & Archive Attributes with ATTRIB

More difficult to perform file operations on groups of files

simultaneously in Windows Explorer.

Page 19: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 19

Using Hidden & Archive Attributes with ATTRIB

The A attribute can flag a file as changed since the last time it was backed up.

ATTRIB command can set and unset this flag.

Page 20: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 20

Activity—Using the H and the A Attributes

KEY CONCEPTS:

Reasons for hiding files

D,R,H,A attributes used to help manage files

Use attributes with ATTRIB and

XCOPY

Space between each parameter - watch

spacing of command syntax carefully

Page 21: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 21

Activity—Using the H and the A Attributes

KEY CONCEPTS:

Rename file - keeps attributes

Copy file - does not keep attributes

Use of + and - in setting and unsetting file attributes

Eliminate/add several file attributes with one command

Page 22: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 22

The SUBST Command

SUBST command:

External command

Substitutes drive letter for path name

Alleviates keying in long path name

Page 23: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 23

The SUBST Command

SUBST command:

Installs programs that recognize disk

drive but not the subdirectory

Derives information from a drive that

a program does not recognize

Page 24: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 24

The SUBST Command

Be cautious when using

SUBST with a network drive.

Page 25: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 25

The SUBST Command

While substitution is in effect, do not use

SUBST with the following commands:

LABEL

CHKDSK

FORMAT

DISKCOPY

DISKCOM

RECOVER

FDISK

Page 26: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 26

The SUBST Command

SUBST command syntax:

SUBST [drive1: [drive2:]path]

Page 27: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 27

The SUBST Command

To undo a substitution:

SUBST drive1: /D

To see what has been substituted:

SUBST

Page 28: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 28

Activity—Using SUBST

KEY CONCEPTS:

Virtual/logical drives SUBST

Uses logical/virtual drive letter

Conceptually how networks operate

Destination - use drive letter and path

SUBST does not recognize drive letter alone

as destination

When done - undo SUBST

Page 29: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 29

The XCOPY Command

Drawbacks of COPY command:Reads and copies only one file at a

time

Cannot copy subdirectory structure

Copied file does not retain source file attributes

Page 30: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 30

The XCOPY Command

XCOPY command:

External command

Copies files that exist in different subdirectories

Can specify drive as source to copy all files on drive.

Provides overwrite protection

Page 31: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 31

The XCOPY Command

XCOPY command: Can be specific about characteristics

of files to be backed up

Faster than COPY

By default will not copy system or

hidden files

Page 32: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 32

The XCOPY Command

Advantages of command line over using Windows Explorer:

Drag and drop problems

Can perform file operations on group of files rather than one file at a time

Page 33: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 33

The XCOPY Command

XCOPY syntax:XCOPY source [destination]

[/A | /M] [/D[ :date]] [/P] [/S [/E]] [/V][/W]

[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]

[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]

[/EXCLUDE:file1 [+file2] [+file3]…]

Page 34: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 34

Activity—Using the XCOPY Command

KEY CONCEPTS: Recreating structure on DATA disk

Uses of /S, /D, and /M with XCOPY

XCOPY

Default confirms overwrite

Can manipulate A attribute

Can copy hidden files

Page 35: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 35

Multiple XCOPY Parameters

XCOPY command:Performs file operations on hidden, system,

and read-only files

Can manipulate files having one or more parameters

Used to accomplish tasks at command line that cannot be accomplished in GUI

Page 36: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 36

Multiple XCOPY Parameters

Next activity will copy two files

to new directory that had hidden attributes set without removing

the H attribute.

Page 37: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 37

Activity—Using Multiple XCOPY Parameters

KEY CONCEPTS:

XCOPY with H and L parameters

XCOPY with “SHRIEK” parameters

XCOPY with “SHREK” parameters

System attributes are hidden

Changing file attributes

ATTRIB - order of parameters does not matter

Page 38: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 38

DOSKEY

DOSKEY:External, memory-resident command

Automatically loaded when Command

Prompt window opened

Enhances command line editing

Page 39: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 39

DOSKEY

DOSKEY remains in memory only during current DOS session.

DOSKEY acts like an internal command.

Page 40: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 40

DOSKEY

TSR (Terminal Stay Resident):

Memory resident commands

Initially works like external command

Does not release memory for duration

of Command Prompt work session

Page 41: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 41

DOSKEY

DOSKEY:

Recalls and edits command lines

Keeps command history

Used to write a macro

Page 42: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 42

DOSKEY

DOSKEY syntax:

DOSKEY [/REINSTALL] [/LISTSIZE=size] [/MACROS [:ALL | :exename]] [/HISTORY] [/INSERT | /OVERSTRIKE] [/EXENAME=exename] [/MACROFILE=filename] [macroname=[text]]

Page 43: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 43

DOSKEYEditing Keys Command Summary

KEY

Up/down Arrows

ESC

F7

ALT + F7

F8

F9

ALT +F10

EDITING FUNCTION

Recall commands

Clears command line

Displays command history

Clears command history

Searches command history

Selects a command by number

Clears macro definitions

Page 44: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 44

DOSKEY

Special codes in Doskey macro definitions:

$T Command separator

$1-$9 Batch parameters

$* Symbol replaced by everything following macro name on command line

Page 45: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 45

Activity—Using DOSKEY

KEY CONCEPTS:

Using HISTORY parameter with DOSKEY

Defining batch files and macros

How to have more than one command on a line in a Command Prompt Window

Closing Command Prompt window eliminates macros created in this window

Redirecting macros to batch file saves them

Page 46: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 46

The Command Prompt Text Editor

Word-processing program:

Used for writing needs

Allows full flexibility in creating and editing documents

Most permit saving document as ASCII text

Page 47: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 47

The Command Prompt Text Editor

Text or ASCII files are used to

give instructions to the

operating system.

Page 48: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 48

The Command Prompt Text Editor

Text editor: Used to create text documents

Used to write batch files

Not a word processor Cannot format data in document

Page 49: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 49

The Command Prompt Text Editor

Text editors: Every operating system has one

NOTEPAD used on desktop

EDIT used at command prompt window

Page 50: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 50

The Command Prompt Text Editor

Edit text editor:

Command line interface text editor

Not a word processor

Cannot format data in documents

Cannot manipulate environment

Page 51: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 51

The Command Prompt Text Editor

Edit text editor menus: Screen menu Bar at top

Status bar at bottom

File menu Open new or existing document

Save or print a document

Save document under new name

Exit editor

Page 52: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 52

The Command Prompt Text Editor

Edit text editor menus: Edit menu

Cut, copy, paste, delete selected text

Search menu Find a specified string of text

Repeat the Last Find

Search for specified string of text

Replace string of text with another string of text

Page 53: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 53

The Command Prompt Text Editor

Edit text editor menus:

View menu

Split, Size, or Close Edit window

Options menu

Change Printer Port or tab Stops

Choose Colors for Edit window

Page 54: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 54

The Command Prompt Text Editor

Edit text editor menus: Help menu

Click Commands to get a list of all available Edit commands

Click About to view version

information for Edit

Page 55: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 55

The Command Prompt Text Editor

A variety of cursor movement keys and shortcuts can be used to edit a text file.

Page 56: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 56

The Command Prompt Text Editor

Table 7.1 Desired Cursor Movement Keys to Use Keyboard Shortcuts p. 348

Page 57: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 57

Activity—Using the Command Prompt Text

EditorKEY CONCEPTS:Making mouse work

Insert Vs. overstrike mode

<Insert> key toggles between two modes

Full screen editing

Using mouse and keystrokes

Selecting text

Page 58: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 58

Activity—Using the Command Prompt Text

EditorKEY CONCEPTS:

Viewing two files simultaneously

Creating macro

Creating batch files

To execute batch file - key in name

Page 59: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 59

Using Text Data Files

Use of text editor to create data:

Desired program not available

Can import text files from many

programs

With recorder can record needed

data in text file

Page 60: Ch 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editorfaculty.skagit.edu/imageuploads/repository596.pdfCh 7 45 Activity—Using DOSKEY KEY CONCEPTS: Using HISTORY parameter with

Ch 7 60

Activity - Importing a Text File

KEY CONCEPTS:

Imported text data into Excel

Tex Import Wizard screen used to

define data


Recommended