home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / CHIPHEFT052001.ISO / exe / fprot38c.EXE / COMMAND.TXT < prev    next >
Encoding:
Text File  |  2000-09-24  |  5.7 KB  |  176 lines

  1.                         The command-line options
  2.  
  3. F-PROT.EXE is usually run without any parameters and will then enter
  4. interactive mode, but if the /HARD option is used, or a drive, file or
  5. directory is specified, it will enter command-line mode.
  6.  
  7. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  8.  
  9. The available command-line options are
  10.  
  11. /APPEND
  12. Appends the report to an existing file (Only used with /REPORT).
  13.  
  14. /ARCHIVE
  15. Scans inside .ZIP and .ARJ files.  Support for .LZH and .RAR archives, as
  16. well as self-extracting archives may be added later.
  17.  
  18. /AUTO
  19. May be specified with /DISINF, /DELETE or /RENAME so F-PROT will not
  20. request permission before rremoving each virus.
  21.  
  22. /BEEP
  23. Produces an annoying beep when a virus is found.  NOT recommended when
  24. scanning a virus collection.
  25.  
  26. /COLLECT
  27. Assumes what is being scanned is a virus collection, where viruses might be
  28. found in "abnormal" locations.  In particular, selecting this option will
  29. enable detection of file images of boot sector viruses.  This switch also 
  30. provides the same features as the old /GURU option.  Note that using /COLLECT
  31. will slow down the scan.
  32.  
  33. /DELETE
  34. Deletes infected files.
  35.  
  36. /DISINF
  37. Disinfects whenever possible.  It is possible to specify the following
  38. combinations of switches:
  39.  
  40.     /DISINF /DELETE
  41.         Disinfects when possible, otherwise deletes infected files.
  42.  
  43.     /DISINF /RENAME
  44.         Disinfects when possible, otherwise attempts to rename infected COM/EXE 
  45.         files to VOM/VXE.
  46.  
  47.     /DISINF /RENAME /DELETE
  48.         Disinfects when possible, otherwise attempts to rename infected COM/EXE
  49.         files to VOM/VXE, but if that fails the files are deleted.
  50.  
  51. /DUMB
  52. Does a "dumb" scan of all files.  This option is practically never
  53. necessary, and will normally just result in a significant slowdown of the
  54. scanner.  The only cases where it might be needed are the following:
  55.  
  56.     If you are scanning a virus collection, where infected files have
  57.     non-standard extensions, such as .VOM instead of .COM, they will not
  58.     be scanned for viruses, unless this switch is specified.
  59.  
  60.     If you are cleaning up a virus infection by one of the rare viruses like
  61.     Frodo, which accidentally "infect" data files, you should use this
  62.     switch.
  63.     
  64. /FREEZE
  65. "Freezes" the program if a virus is found anywhere.
  66.  
  67. /HARD
  68. Scans all files on all hard disks in the computer.
  69.  
  70. /HELP
  71. Displays the list of command-line options.
  72.  
  73. /INTER
  74. Forces the program to enter interactive mode, even when a path, directory
  75. or file name is given on the command line.
  76.  
  77. /LIST
  78. Lists all files that are scanned.
  79.  
  80. /LOADDEF
  81. Load the DEF files into memory.
  82.  
  83. /NOBOOT
  84. Does not scan boot sectors.
  85.  
  86. /NOBREAK
  87. Disables ESC and ^C during scanning.
  88.  
  89. /NOFILE
  90. Does not scan files.  Only useful if you cleaning up a boot sector infection
  91. and do not want to spend unnecessary time scanning files.
  92.  
  93. /NOFLOPPY
  94. For use on systems without floppy drives.
  95.  
  96. /NOHEUR
  97. Version 3 has a smaller, more reliable set of heuristics than version 2,
  98. but they are enabled by default, unlike version 2.  This option allows
  99. you to turn the heuristics off.
  100.  
  101. /NOMEM
  102. Does not scan memory for viruses.  Not recommended, unless you are
  103. absolutely certain that no viruses are present in memory.
  104.  
  105. /NOSUB
  106. Does not scan subdirectories.
  107.  
  108. /PACKED
  109. Scans "inside" various types of compressed executables (PKLITE for
  110. example), by emulating the execution of the decompressor.  As this option
  111. can slow the scan down significantly, we only recommend using it when
  112. scanning new software before installation.
  113.  
  114. /PAGE
  115. Pauses after each page (command-line mode only).
  116.  
  117. /REMOVEALL
  118. Removes all macros from all documents.  Useful if you encounter a new
  119. macro virus, and you know that the document did not contain any macros
  120. before it got infected.
  121.  
  122. /REMOVENEW
  123. If a new variant of a macro virus is found in a document, all macros are
  124. removed from that particular document.
  125.  
  126. /RENAME
  127. Renames infected COM/EXE files to VOM/VXE.  If files with those
  128. extensions already exist, .VVV  is used instead.  Infected document files
  129. are not renamed, as that would be pointless - they would be equally
  130. infectious afterwards.
  131.  
  132. /REPORT=file
  133. Sends the output to a file, in addition to displaying it on the screen.
  134.  
  135. /SAFEREMOVE
  136. Removes all macros from documents, if a known virus is found.
  137.  
  138. /SILENT
  139. Does not generate any screen output (command-line mode only).
  140.  
  141. /TYPE
  142. By default F-PROT will only scan Word and Excel files with "standard"
  143. names, that is with .DO? and .XL? extensions.  If your Word/Excel
  144. documents use other extensions, you need to specify this switch.  This will
  145. slow the scan down, as every file is checked to see if it is a Word or
  146. Excel document.
  147.  
  148. /VIRLIST
  149. Produces a list of known viruses, as well as information on whether they
  150. can be disinfected.
  151.  
  152. /VIRNO
  153. Counts the known viruses and reports the total.
  154.  
  155. /WRAP
  156. Wraps text so the report fits in 78 columns.
  157.  
  158.  
  159. The program uses the following exit codes, which can be checked with the
  160. ERRORLEVEL command from a BAT file.
  161.  
  162.     0 - Normal exit - nothing found
  163.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  164.         the following:
  165.             Internal error in the program.
  166.             DOS version prior to 3.0 was used.
  167.             ENGLISH.TX0, SIGN.DEF or MACRO.DEF corrupted or not present.
  168.     2 - Selftest failed - program has been modified.
  169.     3 - A Boot/File virus infection found.
  170.     4 - Virus found in memory.
  171.     5 - Program terminated with ^C or ESC.
  172.     6 - A virus was removed.  This code is only meaningful if
  173.         the program is used to scan just a single file.
  174.     7 - Insufficient memory to run the program.
  175.     8 - At least one suspicious file was found, but no infections.
  176.