Beruflich Dokumente
Kultur Dokumente
Occasionally on your Windows computer, you may need to perform a procedure by typing in
commands at the 'Command Prompt'. Entering commands in this way allows you to bypass the
Windows graphical user interface and communicate directly with the operating system. You are
most likely to need to work in this way if you get an infection and have to disinfect your
computer from the command line, for example, using one of the Sophos Resolve tools, or
SAV32CLI or SWEEP.EXE.
To communicate through the Windows command line, you will need to use MS-DOS
commands. This article lists some basic DOS commands that you are likely to find useful when
working from the command line, but there are many more available. To find out more about MSDOS, consult a book, online dictionary or encyclopedia, or other specialist publication.
Command and Usage
Examples
ATTRIB
ATTRIB -R -A -S -H <VIRUS.EXE>
C:
C:
CD\
CD..
CD \WINDOWS\SYSTEM
CLS
DEL <VIRUS.EXE>
DEL *.JPG
deletes virus.exe
DEL *.*
DEL MY*.*
DEL MY??.*
These switches can be combined, so DIR /W /P i.e. as many as will fit in your command line
will return multiple rows listing a page at a time. window. Press any key to display the next
page.
You can use the '*' and the '?' wildcards to search
for a particular file. The ? character represents
DIR /W displays the files/folders in multiple
ONE character, and the * character represents
rows. This view gives less information per
multiple characters.
file.
DIR *.*
DIR *.JPG
DIR /AH
PRINT <LOGFILE.TXT>
RD <DIRECTORYNAME>
TYPE C:\README.TXT|MORE
3. Click 'OK'.
A command prompt will open.