home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / util1 / drnu451.lzh / NUTS < prev    next >
Text File  |  1990-10-19  |  5KB  |  121 lines

  1.                                TS (Text Search)
  2.  
  3.  
  4. Description:   Searches for specified text in one or more files, on an entire
  5.                disk, or in the unallocated areas of a disk.
  6.  
  7.  
  8. Syntax:        Version 3.0:   TS [/N]
  9.  
  10.  
  11.                Version 3.1:   TS [(drive:)] [(path)] [(filespec)]
  12.                               [(search-text)] [/EBCDIC] [/EUR] [/LOG] [/N]
  13.                               [/S] [/T]
  14.  
  15.                               TS [(search-text)] {/D | /E} [/EBCDIC] [/EUR]
  16.                               [/LOG] [/N]
  17.  
  18.                Version 4.0:   TS [(drive:)] [(path)] [(filespec)]
  19.                               [(search-text)] [/A] [/CS] [/EBCDIC] [/LOG]
  20.                               [/N] [/S] [/T] [/WS]
  21.  
  22.                               TS [(search-text)] {/D | /E} [/A] [/CS] [/C(n)]
  23.                               [/EBCDIC] [/LOG] [/N] [/WS]
  24.  
  25.  
  26.  
  27.                Version 4.5:   TS [(drive:)] [(path)] [(filespec)]
  28.                               [(search-text)] [/A] [/CS] [/EBCDIC] [/LOG]
  29.                               [/S] [/T] [/WS]
  30.  
  31.                               TS [(search-text)] {/D | /E} [/A] [/CS] [/C(n)]
  32.                               [/EBCDIC] [/LOG] [/WS]
  33.  
  34.  
  35.  
  36.                                  Parameters:
  37.  
  38. (drive:)       The single-letter specifier (A:, B:, C:, etc.) for the drive
  39.                containing the file you want to search. Follow the letter with
  40.                a colon. The current drive is the default.
  41.  
  42. (path)         The full name (C:\WP\LETTERS) of the directory containing the
  43.                files you want to search. The current directory for the
  44.                designated drive is the default.
  45.  
  46. (filespec)     The name of the file you want to search. The default
  47.                (filespec) is ..
  48.  
  49. (search-text)  A text string for which you want to search. If the text string
  50.                is more than a single word, you must enclose it in quote
  51.                marks. If the text string contains a single-quote character,
  52.                enclose the text in double-quote marks. If the text contains a
  53.                double-quote character, enclose the text in single-quote
  54.                marks.
  55.  
  56. /A             Searches automatically by responding ``yes'' to all prompts.
  57.  
  58. /CS            Makes the search case sensitive. If you do not use this
  59.                switch, TS ignores case when comparing (search-text) with data
  60.                on disk or in a file.
  61.  
  62. /C(n)          Specifies the starting cluster number when searching either
  63.                the entire disk (see /D) or the erased areas on the disk (see
  64.                /E).
  65.  
  66. /D             Searches the entire disk, including both allocated and
  67.                unallocated areas.
  68.  
  69. /E             Searches the erased (unallocated) clusters in the data area.
  70.  
  71. /EBCDIC        Specifies that the files you are searching use Extended Binary
  72.                Coded Decimal Interchange Code rather than ASCII.
  73.  
  74. /EUR           Specifies the European character set and includes character
  75.                codes 128 through 255 in the search. The default is to ignore
  76.                characters with a code greater than 127.
  77.  
  78. /LOG           Displays diagnostic output as separate (not overlaid) output
  79.                lines that can be redirected to either a printer or a disk
  80.                file. You can send the output to a printer or a disk file by
  81.                including the MS-DOS redirection character ()) followed by a
  82.                printer name or filename at the end of the command.
  83.  
  84. /N             Lets you run TS if your machine is not fully IBM-compatible.
  85.                If you use this switch, you might first need to enable
  86.                ANSI.SYS in the CONFIG.SYS file and then restart your
  87.                computer.
  88.  
  89. /S             Searches all files in all subdirectories under the current or
  90.                specified path.
  91.  
  92. /T        Displays the names of only the files that contain (search-text) and
  93.           the total number of these files in each directory.
  94.  
  95. /WS       In a WordStar input file, removes the high-order bit from all
  96.           characters to restrict the search range of codes to 0 through 127.
  97.           The default in versions 4.0 and 4.5 includes character codes 128
  98.           through 255 in the search.
  99.  
  100.                                    Notes:
  101.  
  102. In versions 4.0 and later, if you include no parameters, TS prompts you for
  103. (search-type) (file, entire disk, or erased area), for (filespec) if it is
  104. performing a file search, and for (search-text). In earlier versions, TS
  105. prompts you for (filespec) and for (search-text).
  106.  
  107. If you include either the /D or the /E switch, TS asks you whether you want
  108. to collect clusters containing matching data and copy the clusters to an
  109. output file. The output file must be on a drive other than the one TS is
  110. searching.
  111.  
  112. Use the data search feature in the NU (Norton Utility) command to scan for
  113. characters you cannot enter on the keyboard.
  114.  
  115. Example:       To search for all occurrences of ``word processing'' in all
  116.                files with the TXT extension in all directories in drive C.
  117.  
  118.                Enter:    TS c:\.txt "word processing" /S
  119.  
  120. See <NUNU>.
  121.