Saturday, December 11, 2010

How to Change Any Files Attributes From System to Normal Using BAT File

There are some tricks how to change file's attribute from SYSTEM to NORMAL or from any attributes to SYSTEM.
The trick below, I'll change file's attribute using BAT file. You just use command "attrib" and its parameter to change them.
Let's begin!


First, open notepad and type the syntax below :
attrib -h -s /s /d *.*

You can change *.* to *.doc if you just want to change DOC format file.
Or you can change it to another extension
Then save file with extension .bat
Run it !
Any folders and files in the same directory with your BAT file and the folders/files in the sub folders will be no attribute.



No comments:

Post a Comment