MS-DOS Command Line Flashcards

Filename
Terms Definitions
>
Redirects output to a file on disk, or to a printer
|
Uses output of one command as the input for another command
>>
Appends output to the end of an existing file
TYPE
Displays the contents of a text file (or files)
MORE
Displays output one screen at a time
SORT
Sorts the contents of an ASCII text file
FIND
Searches one or more ASCII text files for a specific string of text, and then displays the results by file
COPY
Creates new copies of one or more files
RENAME / REN
Changes the name of one or more files
ERASE / DEL
Deletes one or more files
Drive NameExample A: C:
Changes the default drive
DIR
Displays a list of files and subdirectories within a directory
DIR [file specification]Example dir Sales.wk4 dir "Product List.xls"
Displays a directory listing of a single file or a group of files
DIR /?
Displays help information on the DIR command
DIR /AExample dir /a dir /as
Displays a directory listing of files that have the same file attributes.The file attributes include: D=Directory, H=Hidden, S=System, R=Read Only, A=Archive
DIR /O
Displays a directory listing in alphabetical order by name
DIR /O
Example dir /os
Displays a directory listing in order using a sort order parameter. The sort order parameters include: D=File Date and Time, S=File Size, E=File Extension, N=Main Part of File Name
DIR /O-
example dir /o-s
Displays a directory listing in reverse order using a sort order parameter. The sort order parameters include: D=File Date and Time, S=File Size, E=File Extension, N=Main Part of File Name
DIR /P
Puases the display of a directory listing
DIR /W
Displays filenames in a directory listing in columns across the width of a screen
DIR /X
Displays a directory listing with short file names as well as long file names
SET
Displays, Sets, or Removes environment variables from the Windows environment
SET DIRCMD
Assigns default switches to the DIRCMD environment variable in the Windows environment for use with the DIR command
SET DIRCMD=
Removes settings from the DIRCMD environment
*
Wildcard used in a file specification to represent one or more characters
?
Wildcard used in a file specification to represent one character
/ 26
Term:
Definition:
Definition:

Leave a Comment ({[ getComments().length ]})

Comments ({[ getComments().length ]})

{[comment.username]}

{[ comment.comment ]}

View All {[ getComments().length ]} Comments
Ask a homework question - tutors are online