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

  1.  
  2.                             DS (Directory Sort) 
  3.  
  4.  
  5. Description:   Sorts entries in a directory and can also sort entries in all
  6.                subdirectories. 
  7.  
  8.  
  9. Syntax:        Version 3.0, 3.1:   DS (sort-order) [(path)] [/S] 
  10.  
  11.  
  12.                Version 4.0:        DS (sort-order) [(path)] [/S] 
  13.  
  14.                                    DS [(path)] [/D0 | /D1 | D2][[[/F(n)]
  15.                                    [/B(n)]] | /BW | /TV] 
  16.  
  17.  
  18.                Version 4.5:        DS (sort-order) [(path)] [/S] 
  19.  
  20.                                    DS [(path)] [/D0 | /D1] [/BW] [/NOSNOW] 
  21.  
  22.                                 Parameters: 
  23.  
  24.  
  25.  
  26.  
  27. (sort-order)   One or more characters that define the order and sequence by
  28.                which you want to sort the current or specified directory
  29.                path. Type the character:
  30.  
  31.                     N for filename
  32.  
  33.                     E for file extension
  34.  
  35.                     D for create date
  36.  
  37.                     T for create time
  38.  
  39.                     S for file size
  40.  
  41.                Concatenate the characters in the order by which you want to
  42.                sort the directory entries. In  versions 3.1 and later, follow
  43.                any character in (sort order) with a minus sign character (-)
  44.                to sort in descending sequence. If you do not provide (sort
  45.                order) in versions 4.0 and 4.5, DS displays a full screen menu
  46.                that you use to define the sort order. See the notes below for
  47.                information about how to use the menu system. 
  48.  
  49.  
  50. (path)         The full name (C:\WP\LETTERS) of the directory you want to
  51.                sort. The current directory is the default. 
  52.  
  53. /B(n)          Specifies the background color for the menu system in version
  54.                4.0 if you do not specify (sort-order). Use an integer from 0
  55.                through 15 to specify the color. If you attempt to specify
  56.                identical foreground and background colors, DS adds one to the
  57.                foreground color number before beginning execution. Avoid
  58.                using the high-intensity shade of a color for the foreground
  59.                with the normal-intensity shade of the same color for the
  60.                background (for example, /F12 bright red and /B4 red). The
  61.                default is /B1 (blue). See <NUCOLOR>. 
  62.  
  63. /BW            Specifies a black-and-white display. 
  64.  
  65. /D0            Requests the standard screen driver (the default) for a fully
  66.                IBM-compatible computer system. 
  67.  
  68. /D1            Requests the screen driver for a BIOS-compatible computer
  69.                system. 
  70.  
  71. /D2            Requests the ANSI.SYS driver for a non-IBM-  compatible
  72.                computer system. 
  73.  
  74.  
  75.  
  76.  
  77.  
  78. /F(n)          Specifies the foreground color for the menu system in version
  79.                4.0 if you do not specify (sort order). Use an integer from 0
  80.                through 15 to specify the color. The default is /F15 (bright
  81.                white). See <NUCOLOR>. 
  82.  
  83. /NOSNOW        Prevents screen flicker if your system has an older CGA card. 
  84.  
  85. /S             Sorts all files in all subdirectories under the specified
  86.                path. In versions 4.0 and 4.5, DS ignores this switch if you
  87.                do not specify (sort order). 
  88.  
  89. /TV            Indicates that the utility is running under either  TopView or
  90.                Microsoft Windows. 
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.                                    Notes:
  106.  
  107. ╔══════════════════════════════════════════════════════════════════════════╗
  108. ║                                 Warning:                                 ║
  109. ║                                                                          ║
  110. ║   If you turn off your computer while DS is sorting entries, you might   ║
  111. ║   damage your directory.                                                 ║
  112. ╚══════════════════════════════════════════════════════════════════════════╝
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122. DS places the sorted subdirectory entries ahead of sorted file entries in the
  123. target directory. In versions 4.0 and later, use the menu mode to alter this
  124. sequence.  <NUDSG01) shows a sample directory sort menu for versions 4.0 and
  125. 4.5. 
  126.  
  127. To specify the sort order, first press either the Tab key or the letter C to
  128. move the cursor to the right side of the menu. Then type the letter N, E, D,
  129. T, or S to choose the sort order. Type a minus-sign character (-) after any
  130. letter to indicate descending sequence.  
  131.  
  132. You can also manually sequence individual entries. From the left side of the
  133. menu, use the arrow keys and the Spacebar to select the individual entries
  134. you want to move. After marking the entries, press M to begin the move and
  135. the Enter key to complete the move. Press W to write the changes to disk.
  136. Exit the menu by pressing either F10 or Escape.   
  137.  
  138. Example:       Sort the directory \UTIL\NORT and all its subdirectories by
  139.                file extension and by size.
  140.  
  141.                Enter:    DS ES \util\nort /S 
  142.  
  143. See:           <NULD>, <NUNCD>, <NUCOLOR> 
  144.