home *** CD-ROM | disk | FTP | other *** search
/ norge.freeshell.org (192.94.73.8) / 192.94.73.8.tar / 192.94.73.8 / pub / computers / pcjr / utility / DRNU451.LZH / NUFA < prev    next >
Text File  |  1990-10-19  |  5KB  |  115 lines

  1.                             FA (File Attributes) 
  2.  
  3.  
  4. Description:   Searches for files and displays file attributes. This command
  5.                can also set and clear file attributes. 
  6.  
  7.  
  8. Syntax:        Version 3.0:   FA [(drive:)][(path)][(filespec)] [/A{+|-}]    
  9.                               [/R{+|-}] [/P] [/T] [/U] 
  10.  
  11.                Version 3.1:   FA [(drive:)][(path)][(filespec)] [/A{+|-}]    
  12.                               [/HID{+|-}] [/R{+|-}] [/SYS{+|-}] [/P] [/S]    
  13.                               [/T] [/U] 
  14.  
  15.                Version 4.0, 4.5:   FA [(drive:)][(path)][(filespec)]  
  16.                                    [/A{+|-}] [/HID{+|-}]  [/R{+|-}]          
  17.                                    [/SYS{+|-}] [/CLEAR] [/P] [/S] [/T] [/U] 
  18.  
  19.  
  20.                                 Parameters: 
  21.  
  22. (drive:)       The single-letter specifier (A:, B:, C:, etc.) for the drive
  23.                you want to search. Follow the letter with a colon. The
  24.                current drive is the default. 
  25.  
  26. (path)         The full name (C:\WP\LETTERS) of the directory you want to
  27.                search. The current directory for the designated drive is the
  28.                default. 
  29.  
  30. (filespec)     The name of the file for which you want to search. The default
  31.                (filespec) is *.*. 
  32.  
  33. /A             Searches only for files with the archive attribute. 
  34.  
  35. /A+            Sets (turns on) the archive attribute on all files whose names
  36.                match (drive:)\(path)\(filespec). 
  37.  
  38. /A-            Clears (turns off) the archive attribute on all files with the
  39.                archive attribute set and whose names match
  40.                (drive:)\(path)\(filespec). 
  41.  
  42. /CLEAR         Clears (turns off) all file attributes on all files whose
  43.                names match (drive:)\(path)\(filespec). 
  44.  
  45. /HID           Searches only for files with the hidden attribute. 
  46.  
  47. /HID+          Sets (turns on) the hidden attribute on all files whose names
  48.                match (drive:)\(path)\(filespec). 
  49.  
  50. /HID-          Clears (turns off) the hidden attribute on all hidden files
  51.                whose names match (drive:)\(path)\(filespec). 
  52.  
  53. /P             Displays the results in pause mode: You initially see one
  54.                screenful of information, and you must press a key to see each
  55.                subsequent screenful. 
  56.  
  57. Versions 3.0 and 3.1:    Press any key to see the next screenful. Press the
  58.                          Pause key to pause at any time. You cannot activate
  59.                          pause mode after FA begins executing. Use Ctrl-C
  60.                          (^C) or Ctrl-Break (^[) to stop execution. 
  61.  
  62. Versions 4.0 and 4.5:    Press the Spacebar to see the next screenful. Press
  63.                          the Enter key to scroll up one line at a time. Press
  64.                          any key other than Spacebar, Enter, or Escape to
  65.                          exit pause mode. You can also enter pause mode
  66.                          during normal display by pressing any key other than
  67.                          Escape. Use the Escape (ESC) key to stop execution. 
  68.  
  69. /R             Searches only for files with the read-only attribute. 
  70.  
  71. /R+            Sets (turns on) the read-only attribute on all files whose
  72.                names match (drive:)\(path)\(filespec). 
  73.  
  74. /R-            Resets (turns off) the read-only attribute on all files that
  75.                are marked read-only and whose names match
  76.                (drive:)\(path)\(filespec). 
  77.  
  78. /S             Searches all files in all subdirectories under the current or
  79.                specified path. 
  80.  
  81. /SYS           Searches only for files with the system attribute. 
  82.  
  83. /SYS+          Sets (turns on) the system attribute on all files whose names
  84.                match (drive:)\(path)\(filespec). 
  85.  
  86. /SYS-          Resets (turns off) the system attribute on all system files
  87.                whose names match (drive:)\(path)\(filespec). 
  88.  
  89. /T             Displays the total number of files whose attributes FA has
  90.                changed. FA displays a total for each directory. If FA is in
  91.                pause mode (see /P), the utility might pause several times
  92.                before you see a total. 
  93.  
  94. /U             Displays all unusual files; that is, those with any of the
  95.                four file attributes set. 
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. Example:       To reset the read-only attribute on all files in the WP\LTR
  107.                directory on the current drive and to display the names of all
  108.                files that have the archive, the system, or the hidden
  109.                attribute.
  110.  
  111.                Enter:    FA \wp\ltr /R- /U 
  112.  
  113. See:           <NUFF>, <NUFI>, <NUFS>, <NULD>, <NUNCD>. 
  114.  
  115.