home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / DSKUTL11.ZIP / CHMODE.MAN < prev    next >
Encoding:
Text File  |  1991-06-29  |  1.9 KB  |  67 lines

  1.      chmode (local)           Disk Utilities v1.1            chmode (local)
  2.  
  3. NNAAMMEE 
  4.           chmode  - This utility is used to modify the modes of files.
  5.      It is very similar to the DOS command "chmod",  but  I  like  its
  6.      format  better,  and  the fact it can change the mode of multiple
  7.      files.  
  8.  
  9.  
  10. SSYYNNOOPPSSIISS 
  11.           chmode <+-irwsa> [file ...] 
  12.  
  13.  
  14. EENNVVIIRROONNMMEENNTTSS 
  15.  
  16.           Options  for  this  program  will  also  be  looked  for  in
  17.      command.com's environment.    This  is  done with the set command
  18.      (e.g. set chmode=+a causes chmode to always use the option +a).  
  19.  
  20.  
  21. OOPPTTIIOONNSS 
  22.  
  23.      + - Add any attributes which follow.  
  24.  
  25.      - - Subract (remove) any attributes which follow.  
  26.  
  27.      i - Take the names of the files to modify attributes from stdin.  
  28.  
  29.      r - Read (not hidden) attribute.  This  determines  if  the  file
  30.      shows up in commands such as dir.  
  31.  
  32.      w - Write attribute.  This tells if the file can be modified.  
  33.  
  34.      s -  System  attribute.   Tells if the file is a system file (ex:
  35.      ibmbio.com ibmdos.com) 
  36.  
  37.      a - Archive atribute.  Often used for incremental  backups,  this
  38.      bit is  set  whenever a file is modified.  Thus is can be used to
  39.      tell which files have been modified since the last backup.  
  40.  
  41.  
  42. EEXXAAMMPPLLEESS 
  43.  
  44.           chmode +rwsa *.com 
  45.      Make all files ending in ".com" have (in addition  to  their  old
  46.      attributes) the read, write, system, and archive attributes set.  
  47.  
  48.           chmode +rw -s t.com *.obj c:\*.* 
  49.      Add  the  attributes  read  and  write  while removing the system
  50.      attributes from t.com, *.obj, and c:\*.*.  
  51.  
  52.           find c:\ | chmode -ia 
  53.      Remove the archive attribute from all files on the c drive.  
  54.  
  55.  
  56. BBUUGGSS 
  57.  
  58.           None that I know of!  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66. !
  67.