Translate

"ATTRIB" คำสั่ง แก้ Hidden File

"ATTRIB" คำสั่ง แก้ Hidden File

สำหรับบทความนี้เป็นการความรู้เรื่อง Attribute ของ File และ Folder ของ Window 

สำหรับคำว่า Attributes หรือ คุณลักษณะ ของ file และ folder ของระบบปฏิบัติการ window ก็คือการกำหนดคุณลักษณะของ file และ folder ที่จัดเก็บไว้ในหน่วยความจำสำรอง (Hard disk ,Flash Drive,External Hard disk) ของเครื่องคอมพิวเตอร์ โดยคุณลักษณะหลักของ file และ folder ของระบบปฏิบัติการ window แบ่งได้เป็น 4 ลักษณะ ดังนี้

  1. A (Archive file attribute) หรือ ไฟล์ที่มีความสำคัญอยู่ร่วมกันหลายๆและมีการบีบอัดไฟล์
  2. R (Read-only file attribute) หรือ อ่านหรือเข้าถึงเพียงอย่างเดียว
  3. H (Hidden file attribute)  หรือ ไฟล์ที่มีลักษณะเป็นไฟล์ซ้อน
  4. S (System file attribute) หรือ ไฟล์ของระบบ
คำสั่ง Attribute ใน DOS 

C:\Documents and Settings\ERROR->attrib /?
Displays or changes file attributes.

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

  +  Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden 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.





ไม่มีความคิดเห็น:

แสดงความคิดเห็น