Senin, 07 November 2011

mengenali Perintah Attrib dalam CMD

Attrib command is used to display and set the attributes owned by a file or folder. The format of the Attrib command is: attrib [{+ r |-r}] [{+ a |-a}] [{+ s |-s}] [{+ h |-h}] [[Drive:] [Path] FileName] [/ s [/ d]] Description: + r: Sets the read-only file attribute. -r: Clears the read-only file attribute. + a: Sets the archive file attribute. -a: Clears the archive file attribute. + s: Sets the system file attribute. -s: Clears the system file attribute. + h: Sets the hidden file attribute. -h: Clears the hidden file attribute. / s: Applying the Attrib command at a directory and its subdirectories. / d: Applying the Attrib command at a directory /? : Displays the help of a list of commands [Drive:] [Path] FileName: Specifies the location and name of a file or directory to be displayed or changed attributnya. For example the use of this Attrib command can be seen in the article "How to Fielding that are hidden by the virus". In this example Attrib command used is: E: \ Attrib-r-s-h / s / d From the above explanation we can see that the command means "remove read only attributes, from the system and hidden files and directories that exist on drive E".

0 komentar:

Posting Komentar

 

©2009 tHe_A&W_bLoG | by TNB