User Guide
Using VirusScan Command-line Options
166 McAfee VirusScan Anti-Virus Software
/UICONFIG This option tells the VirusScan application to open its main window and 
await configuration option changes. To start a scan operation after you 
change configuration options, click the Scan Now button in the 
application window.
Setting this option will disable the /AUTOSCAN option if you use it in the 
same command line.
/UIEXONLY This option prevents you from making changes to configuration options 
or scan targets you’ve set previously. Instead, it tells the VirusScan 
application to open its Scan Only window and begin a scan operation 
immediately.
/UINONE This option tells the VirusScan application to run a scan task 
immediately with no visible interface. You must tell the application on the 
same command line which scan targets it must examine. Enter the drive 
designation, or a complete path to a file or directory you want it to scan.
/SUB This option tells the VirusScan application to look for viruses in any 
subfolders inside the directory you specified as your scan target.
Note: This option causes the application to scan only those files stored 
in the subfolders themselves. The application will not scan files stored at 
the root level of the folder you designate. To scan those files, run the 
application with the /NOSUB option.
/NOSUB This option tells the VirusScan application not to look for viruses in any 
subfolders inside the directory you specified as your scan target.
Note: This option causes the application to scan only those files stored 
at the root level of the folder you designate. The application will not scan 
files stored in any subfolder beneath that level. To scan those files, run 
the application with the /SUB option.
/ALL This option tells the VirusScan application to scan all of the files stored 
on the drive or in the folder you specified as your scan target, whatever 
their extensions.
/NOALL This option tells the VirusScan application to scan only those files stored 
on the drive or in the folder you specified as your scan target that have 
the extensions predefined in the application’s default program extension 
list.
Use the /EXT option to replace the default extension list with a set of 
extensions you specify on the same command line. Use the /DEFEXT 
option to supplement the default extension list with extensions you add 
on the same command line.
/COMP This option tells the VirusScan application to scan files saved in 
compressed file archives. Examples of such archives include .ZIP, .CAB, 
.LZH, and .UUE files. This can slow down scan operations, but gives 
your system better protection.
Table C-2. SCAN32.EXE command-line options










