home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 4 / CD_ACTUAL_4.iso / share / dos / utilidad / fp-222 / command.doc < prev    next >
Encoding:
Text File  |  1996-03-06  |  4.7 KB  |  155 lines

  1.                            Command line mode
  2.  
  3.                         The command-line options
  4.  
  5. F-PROT.EXE is usually run without any parameters and will then enter
  6. interactive mode.  It is also possible to run it in command-line mode,
  7. either by specifying a drive, file or directory to scan, or by using the
  8. /COMMAND option.
  9.  
  10. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  11.  
  12. The available command-line options are
  13.  
  14. /640
  15. On certain old machines, scanning non-existing memory between 640K and 1M
  16. may cause a system crash.  This switch instructs F-PROT to scan only 640K.
  17.  
  18. /ALL
  19. Specifies that all files should be searched, not just normal "executable"
  20. files.  This switch should never be used with /ANALYSE, but only if a
  21. virus has already been found, and you are just making sure it is not
  22. hiding in some obscure overlay file.
  23.  
  24. /ANALYSE
  25. Performs a heuristic analysis after the "Secure" scan.  This approach may
  26. cause false positives, and should be used with care.  See the file
  27. ANALYSE.DOC for further information.
  28.  
  29. /APPEND
  30. Used with /REPORT. Append the report to an existing file.
  31.  
  32. /AUTO
  33. May be specified with /DELETE or /DISINF so F-PROT will not request
  34. permission before deleting or disinfecting.  The default if only /DELETE
  35. or /DISINF are given is to ask if the file should be disinfected (or
  36. deleted).
  37.  
  38. /BOOT (default) /NOBOOT
  39. Scan/Don't scan boot sectors.
  40.  
  41. /COMMAND
  42. Force command-line mode.
  43.  
  44. /DELETE
  45. Delete all infected files, instead of just listing them.
  46.  
  47. /DISINF
  48. Disinfect whenever possible - deletes first-generation samples and files
  49. destroyed by overwriting viruses.  It will never delete a file which can
  50. be disinfected.
  51.  
  52. /EXT=
  53. Specify which filename extensions to scan by default, maximum of 10,
  54. separated by "."  Example: /EXT=COM.EXE.SYS.DLL.OV?
  55.  
  56. /FILE (default) /NOFILE
  57. Scan/Don't scan files.  If /NOFILE is used, it implies /NOPACKED and
  58. /NOUSER as well.
  59.  
  60. /GURU
  61. Provides additional information while scanning.
  62.  
  63. /HARD
  64. Scans the MBR and all accessible partitions on any hard disks that are
  65. found.
  66.  
  67. /HELP or /?
  68. Display a list of available options.
  69.  
  70. /INTER
  71. Force interactive mode.
  72.  
  73. /LIST
  74. Produce a report of all files checked, not just those which are infected.
  75.  
  76. /MONO
  77. Use monochrome on color displays.
  78.  
  79. /MULTI
  80. Scan multiple diskettes.
  81.  
  82. /NET
  83. Scans any network "drives" found.
  84.  
  85. /NOBREAK
  86. Disables ESC and ^C during scanning
  87.  
  88. /NOMEM
  89. Skip the memory scan.
  90.  
  91. /NOSUB
  92. Do not scan subdirectories.
  93.  
  94. /NOWRAP
  95. Do not wrap text in the report.
  96.  
  97. /OLD
  98. Do not display the "This version of the program is rather old" message.
  99.  
  100. /ONLY 
  101. When used with /ANALYSE, it will make F-PROT perform ONLY a heuristic
  102. scan.
  103.  
  104. /PACKED (default) /NOPACKED
  105. Search/Don't search inside packed executables (DIET, PKLITE, LZEXE).  This
  106. does not mean that F-PROT will scan inside archives (ZIP or ARJ).
  107.  
  108. /PAGE
  109. Pause after each page.
  110.  
  111. /PARANOID
  112. Makes the scanner totally paranoid.  Increases the chances of picking
  113. up new viruses, but will significantly increase the risk of false
  114. positives.  Only recommended for use by experienced, technical-minded
  115. users, and please keep in mind that we are not interested in receiving
  116. samples of possible false alarms that are only produced when this switch
  117. is used.
  118.  
  119. /RENAME
  120. Rename infected files to *.VOM, *.VXE or *.VVV.
  121.  
  122. /REPORT=file
  123. Sends the output to a file, in addition to displaying it on the screen.
  124.  
  125. /SILENT
  126. Generates no screen output at all - useful if you want to run the program
  127. from a batch file, and only check the return code.
  128.  
  129. /USER /NOUSER (default)
  130. Search/Don't search for user-defined search strings.  This option should
  131. only be used if absolutely neccessary, as it may result in a considerable
  132. speed decrease.
  133.  
  134.                           Return status
  135.  
  136. The program uses the following exit codes, which can be checked with the
  137. ERRORLEVEL command from a BAT file.
  138.  
  139.     0 - Normal exit - nothing found
  140.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  141.     the following:
  142.         DOS version 1.x was used (F-PROT requires DOS 2.0 or higher)
  143.         The report file (specified with /REPORT=) could not be created.
  144.         ENGLISH.TX0 or SIGN.DEF corrupted or not present
  145.         Program was run from a diskette, and the diskette then changed.
  146.     2 - Selftest failed - program has been modified.
  147.     3 - A Boot/File virus infection found.
  148.     4 - Virus search string found in memory.
  149.     5 - Program terminated with ^C or ESC.
  150.     6 - At least one virus was removed.  This code is only meaningful if
  151.         the program is used to scan just a single file.
  152.     7 - Insufficient memory to run the program.
  153.     8 - At least one suspicious file was found, but no infections.
  154.  
  155.