home *** CD-ROM | disk | FTP | other *** search
/ The Party 1994: Try This At Home / disk_image.bin / fprot / command.doc < prev    next >
Text File  |  1994-09-12  |  4KB  |  142 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.
  21.  
  22. /ANALYSE
  23. Performs a heuristic analysis after the "Secure" scan.  This approach may
  24. cause false positives, and should be used with care.  See the file
  25. ANALYSE.DOC for further information.
  26.  
  27. /APPEND
  28. Used with /REPORT. Append the report to an existing file.
  29.  
  30. /AUTO
  31. May be specified with /DELETE or /DISINF so F-PROT will not request
  32. permission before deleting or disinfecting.  The default if only /DELETE
  33. or /DISINF are given is to ask if the file should be disinfected (or
  34. deleted).
  35.  
  36. /BOOT (default) /NOBOOT
  37. Scan/Don't scan boot sectors.
  38.  
  39. /COMMAND
  40. Force command-line mode.
  41.  
  42. /DELETE
  43. Delete all infected files, instead of just listing them.
  44.  
  45. /DISINF
  46. Disinfect whenever possible - deletes first-generation samples and files
  47. destroyed by overwriting viruses.  It will never delete a file which can
  48. be disinfected.
  49.  
  50. /EXT=
  51. Specify which filename extensions to scan by default, maximum of 10,
  52. separated by "."  Example: /EXT=COM.EXE.SYS.DLL.OV?
  53.  
  54. /FILE (default) /NOFILE
  55. Scan/Don't scan files.  If /NOFILE is used, it implies /NOPACKED and
  56. /NOUSER as well.
  57.  
  58. /HARD
  59. Scans the MBR and all accessible partitions on any hard disks that are
  60. found.
  61.  
  62. /HELP or /?
  63. Display a list of available options.
  64.  
  65. /INTER
  66. Force interactive mode.
  67.  
  68. /LIST
  69. Produce a report of all files checked, not just those which are infected.
  70.  
  71. /MONO
  72. Use monochrome on color displays.
  73.  
  74. /MULTI
  75. Scan multiple diskettes.
  76.  
  77. /NET
  78. Scans any network "drives" found.
  79.  
  80. /NOBREAK
  81. Disables ESC and ^C during scanning
  82.  
  83. /NOMEM
  84. Skip the memory scan.
  85.  
  86. /NOSUB
  87. Do not scan subdirectories.
  88.  
  89. /NOWRAP
  90. Do not wrap text in the report.
  91.  
  92. /OLD
  93. Do not display the "This version of the program is rather old" message.
  94.  
  95. /ONLY 
  96. When used with /ANALYSE, it will make F-PROT perform ONLY a heuristic
  97. scan.
  98.  
  99. /PACKED (default) /NOPACKED
  100. Search/Don't search inside packed executables (DIET, PKLITE, LZEXE).  This
  101. does not mean that F-PROT will scan inside archives (ZIP or ARJ).
  102.  
  103. /PAGE
  104. Pause after each page.
  105.  
  106. /RENAME
  107. Rename infected files to *.VOM, *.VXE or *.VVV.
  108.  
  109. /REPORT=file
  110. Sends the output to a file, in addition to displaying it on the screen.
  111.  
  112. /SILENT
  113. Generates no screen output at all - useful if you want to run the program
  114. from a batch file, and only check the return code.
  115.  
  116. /USER /NOUSER (default)
  117. Search/Don't search for user-defined search strings.  This option should
  118. only be used if absolutely neccessary, as it may result in a considerable
  119. speed decrease.
  120.  
  121.                           Return status
  122.  
  123. The program uses the following exit codes, which can be checked with the
  124. ERRORLEVEL command from a BAT file.
  125.  
  126.     0 - Normal exit - nothing found
  127.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  128.     the following:
  129.         DOS version 1.x was used (F-PROT requires DOS 2.0 or higher)
  130.         The report file (specified with /REPORT=) could not be created.
  131.         ENGLISH.TX0 or SIGN.DEF corrupted or not present
  132.         Program was run from a diskette, and the diskette then changed.
  133.     2 - Selftest failed - program has been modified.
  134.     3 - A Boot/File virus infection found.
  135.     4 - Virus search string found in memory.
  136.     5 - Program terminated with ^C or ESC.
  137.     6 - At least one virus was removed.  This code is only meaningful if
  138.         the program is used to scan just a single file.
  139.     7 - Insufficient memory to run the program.
  140.     8 - At least one suspicious file was found, but no infections.
  141.  
  142.