MSAV

The description below is from the book
DOS the Easy Way by Everett Murdock Ph.D.

CLICK HERE for information about downloading the book.

Type: External (6.0 and later

Syntax:

MSAV [d:] [/S|/C][/R][/A][/L][/N][/P][/F][/video][/mouse]
MSAV /video

Purpose: Scans your computer for known viruses.

Discussion

MSAV will scan the specified drive for known viruses. If no drive is specified, the current drive will be scanned.

MSAV creates a CHKLIST.MS file in each directory that is scanned for viruses. The first time you scan a directory checksums are recorded for each program in the CHKLIST.MS file. With subsequent scans, new checksums are compared to the originals to see if the program files have changed. If there is a change, it may indicate a virus infection.

Options

/S - Scans the specified drive without removing the viruses that are found.

/C - Scans the specified drive removing any viruses that are found.

/R - Creates a file, named MSAV.RPT, that lists the number of files that were scanned, the number of viruses found, and the number of viruses removed. If you do not specify this option, a report will not be created. If created, the MSAV.RPT file will be placed in the root directory.

/A - Scans all drives except A and B.

/L - Scans all local drives except network drives.

/N - Used to display the contents of an MSAV.TXT file, if it exists and if it is located in the directory that contains the MSAV.EXE file. MSAV then scans the specified drive. MSAV does not use the graphical interface. If a virus is detected, MSAV returns exit code 86 instead of displaying a message on your screen. This error code means that more than one or more viruses were found.

/P - Displays a command-line interface instead of the graphical interface.

/F - Turns off the display of filenames that have been scanned. This option should be used only with the /N or /P options .

/video - Displays a list of switches that can be used to affect how MSAV is displayed. The following switches are included in this list:

/25 - Sets the screen display to 25 lines. This is the default setting.

/28 - Sets the screen display to 28 lines (for VGA display adapters only).

/43 - Sets the screen display to 43 lines (for EGA and VGA display adapters).

/50 - Sets the screen display to 50 lines (for VGA display adapters only).

/60 - Sets the screen display to 60 lines (for Video 7 display adapters only).

/IN - Runs MSAV using a color scheme, even is a color display adapter is not detected.

/BW - Runs MSAV using a black-and-white color scheme.

/MONO - Runs MSAV using a monochromatic color scheme.

/LCD - Runs MSAV using an LCD color scheme.

/FF - Uses the fastest screen updating on computers with CGA display adapters (this may decrease video quality).

/BF - Uses the computer`s BIOS to display video.

/NF - Disables the use of alternate fonts.

/BT - Allows use of a graphics mouse in Windows

/NGM - Runs MSAV using the default mouse character instead of the graphics character.

/LE - Exchanges left and right mouse buttons.

/PS2 - Resets the mouse if the mouse cursor disappears or locks up.

/mouse - There are three mouse related options :

NGM - No graphics mouse. The default mouse character is used rather than a graphics cursor in full-screen display.

LE - Switches the left and right mouse buttons.

PS2 - Resets the mouse if the cursor disappears or freezes.

/video - If you specify this option alone on the command line, MSAVE will display a list of the available video and mouse options .

Example

To scan the current directory, removing any found viruses, enter the following:

msav /s




Back to the Easy DOS Command Index