home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Security / Security.zip / fprot312.zip / COMMAND.TXT < prev    next >
Text File  |  2001-10-09  |  6KB  |  174 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 you should use this
  61.     switch.
  62.  
  63. /EXT
  64. By default F-PROT will open every file and try to determine its type,
  65. so it will for example scan Word files, even if they do not use a DOC/DOT
  66. extension.  By using /EXT the scanning can be speeded up slightly as F-PROT
  67. will then only scan files with "default" extensions.
  68.  
  69. /FREEZE
  70. "Freezes" the program if a virus is found anywhere.
  71.  
  72. /HARD
  73. Scans all files on all hard disks in the computer.
  74.  
  75. /HELP
  76. Displays the list of command-line options.
  77.  
  78. /INTER
  79. Forces the program to enter interactive mode, even when a path, directory
  80. or file name is given on the command line.
  81.  
  82. /LIST
  83. Lists all files that are scanned.
  84.  
  85. /LOADDEF
  86. Load the DEF files into memory.
  87.  
  88. /NOBOOT
  89. Does not scan boot sectors.
  90.  
  91. /NOBREAK
  92. Disables ESC and ^C during scanning.
  93.  
  94. /NOFILE
  95. Does not scan files.  Only useful if you cleaning up a boot sector infection
  96. and do not want to spend unnecessary time scanning files.
  97.  
  98. /NOFLOPPY
  99. For use on systems without floppy drives.
  100.  
  101. /NOHEUR
  102. Version 3 has a smaller, more reliable set of heuristics than version 2,
  103. but they are enabled by default, unlike version 2.  This option allows
  104. you to turn the heuristics off.
  105.  
  106. /NOMEM
  107. Does not scan memory for viruses.  Not recommended, unless you are
  108. absolutely certain that no viruses are present in memory.
  109.  
  110. /NOSUB
  111. Does not scan subdirectories.
  112.  
  113. /PACKED
  114. Scans "inside" various types of compressed executables (PKLITE for
  115. example), by emulating the execution of the decompressor.  As this option
  116. can slow the scan down significantly, we only recommend using it when
  117. scanning new software before installation.
  118.  
  119. /PAGE
  120. Pauses after each page (command-line mode only).
  121.  
  122. /REMOVEALL
  123. Removes all macros from all documents.  Useful if you encounter a new
  124. macro virus, and you know that the document did not contain any macros
  125. before it got infected.
  126.  
  127. /REMOVENEW
  128. If a new variant of a macro virus is found in a document, all macros are
  129. removed from that particular document.
  130.  
  131. /RENAME
  132. Renames infected COM/EXE files to VOM/VXE.  If files with those
  133. extensions already exist, .VVV  is used instead.  Infected document files
  134. are not renamed, as that would be pointless - they would be equally
  135. infectious afterwards.
  136.  
  137. /REPORT=file
  138. Sends the output to a file, in addition to displaying it on the screen.
  139.  
  140. /SAFEREMOVE
  141. Removes all macros from documents, if a known virus is found.
  142.  
  143. /SILENT
  144. Does not generate any screen output (command-line mode only).
  145.  
  146. /VIRLIST
  147. Produces a list of known viruses, as well as information on whether they
  148. can be disinfected.
  149.  
  150. /VIRNO
  151. Counts the known viruses and reports the total.
  152.  
  153. /WRAP
  154. Wraps text so the report fits in 78 columns.
  155.  
  156.  
  157. The program uses the following exit codes, which can be checked with the
  158. ERRORLEVEL command from a BAT file.
  159.  
  160.     0 - Normal exit - nothing found
  161.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  162.         the following:
  163.             Internal error in the program.
  164.             DOS version prior to 3.0 was used.
  165.             ENGLISH.TX0, SIGN.DEF or MACRO.DEF corrupted or not present.
  166.     2 - Selftest failed - program has been modified.
  167.     3 - A Boot/File virus infection found.
  168.     4 - Virus found in memory.
  169.     5 - Program terminated with ^C or ESC.
  170.     6 - A virus was removed.  This code is only meaningful if
  171.         the program is used to scan just a single file.
  172.     7 - Insufficient memory to run the program.
  173.     8 - At least one suspicious file was found, but no infections.
  174.