Wednesday, October 16, 2013

Attrib ...

Ramai yg dok tanya macamana nak unhide fail atau folder..

Buka command prompt as administrator

hanya taip
attrib -h -r -s /s /d j:*.*
yang mana j  adalah drive... nyah sorok semua benda dlm drive
kalau nak spesifik folder pulak..
attrib -h -r -s /s /d "namafolder"
ia boleh mengubah penguncian folder / drive..cuma tambah "-" with "+"
attrib +h +r +s /s /d "foldername"

=========================================================
attrib /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
       [drive:][path][filename] [/S [/D] [/L]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  I   Not content indexed file attribute.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.
  /L  Work on the attributes of the Symbolic Link versus
      the target of the Symbolic Link

No comments:

Post a Comment