Saturday, October 09, 2010

Change Attribute Command

ใช้แสดงและเปลี่ยนแปลง attribute ของ file และ folder
เช่นถ้าโดน virus เปลี่ยนแปลง attribute ของ file และต้องการแก้ไขกลับมาให้ใช้คำสั่ง

attrib -R -S -H d:\*.* /S /D

- = clear attribute
R = Read Only File
S = System File
H = Hidden File
/S = Process Subfolder ด้วย
/D = ให้ทำงานกับ Folder ด้วย

No comments:

Post a Comment