DOS Commands: Attrib Attrib - R - A - S - H
DOS Commands: Attrib Attrib - R - A - S - H
ATTRIB
ATTRIB -R -A -S -H <VIRUS.EXE>
Change file attributes. '+' adds an attribute, '-'
All these attributes will be removed from
removes it. Attributes are: A=archive; R=read only;
virus.exe.
S=system; H=hidden.
C:
C:
Go to the C: drive. Similarly A: and D: etc.
HELP
Displays DOS Help. For help on an individual HELP DIR displays information on the DIR
command, type HELP then the command for which command.
you want more information.
MD
Make directory. Creates a new directory below the MD <NEWDIR> creates a new directory called
current one. (The command can also be written Newdir.
as MKDIR)
RD
Remove directory. Removes a subdirectory of the
current directory. The directory you want to remove RD <DIRECTORYNAME>
must be empty of all files. (The command can also be
written as RMDIR)
TYPE
Displays the contents of a file on the screen. If you
use this command on a file which is not a text file, the TYPE C:\README.TXT|MORE
display will be unintelligible. Use with "|MORE" to
display the text on a page by page basis, and prevent
it scrolling off the screen. "|" is a pipe character.
>
When you run a DOS command, output is usually COMMAND > FILENAME.TXT
sent to the screen. Use > to redirect output from the e.g. SWEEP > REPORT.TXT The details of any
screen to a file. It runs the command preceding the >, infected files reported by SWEEP are sent to a
creates a file in the current directory with the name file called REPORT.TXT.
you specify, and sends the information/output
returned by the command, to that file.