Академический Документы
Профессиональный Документы
Культура Документы
Examples
ATTRIB -R -A -S -H <VIRUS.EXE>
ATTRIB
C:
Note, directory is the term used by DOS for what CD <DIRECTORYNAME> takes you to that
Windows calls a folder.
directory. You can use one or more
subdirectory names, separated by \ e.g.
CD WINNT\Media takes you to the directory
C:\WINNT\Media
To change to another path, type the full path
with slashes. e.g.
CD \WINDOWS\SYSTEM
CLS
CLS
These switches can be combined, so DIR /W /P DIR /P displays the contents a page at a
will return multiple rows listing a page at a time. time, i.e. as many as will fit in your command
line window. Press any key to display the next
You can use the '*' and the '?' wildcards to search page.
for a particular file. The ? character represents
ONE character, and the * character represents
DIR /W displays the files/folders in multiple
multiple characters.
rows. This view gives less information per
file.
DIR *.* lists all the files in a directory.
DIR *.JPG displays all files with the
extension JPG in the current directory and all
subdirectories.
displays all files beginning with
MY, exactly 4 characters long, and with any
extension.
DIR MY??.*
DIR /S
DIR /AH
EDIT
HELP
MD
HELP DIR
command.
MD <NEWDIR>
Newdir.
PRINT <LOGFILE.TXT>
Prints LOGFILE.TXT
RD
RD <DIRECTORYNAME>
RENAME
TYPE
TYPE C:\README.TXT|MORE
>