McAfee VCLCDE-AA-DA Product Guide - Page 37

Handling error messages, Invalid switch or incorrect usage, BADLIST.TXT, BADLIST

Page 37 highlights

VirusScan® Command Line 5.20.0 Product Guide 3 Using the Command-Line Scanner Handling error messages Handling error messages You can often correct the message, Invalid switch or incorrect usage by checking the form of the command in Options in alphabetic order on page 34. Where an option has a parameter, insert only one space between them. For example, the following commands are intended to scan all directories on the C disk, and list any infected files in the file named BADLIST.TXT. The first two commands are valid, but the third command gives an error message because it has more than one space between the /BADLIST option and its parameter, BADLIST.TXT. SCAN C:\ /SUB /BADLIST BADLIST.TXT SCAN C:\ /SUB /BADLIST BADLIST.TXT SCAN C:\ /SUB /BADLIST BADLIST.TXT 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46

37
VirusScan
®
Command Line 5.20.0 Product Guide
Using the Command-Line Scanner
Handling error messages
3
Handling error messages
You can often correct the message,
Invalid switch or incorrect usage
by checking
the form of the command in
Options in alphabetic order
on page 34
.
Where an option has a parameter, insert only one space between them. For example,
the following commands are intended to scan all directories on the C disk, and list any
infected files in the file named
BADLIST.TXT
. The first two commands are valid, but the
third command gives an error message because it has more than one space between
the
/BADLIST
option and its parameter,
BADLIST.TXT
.
SCAN C:\ /SUB /BADLIST BADLIST.TXT
SCAN C:\
/SUB
/BADLIST BADLIST.TXT
SCAN C:\ /SUB /BADLIST
BADLIST.TXT