Friday, November 27, 2009

Set and Show Hidden File with Command Promt

In the windows operating system we can set files to be hidden or otherwise. There are two methods to create a hidden file:

1. conventional methods

Right-click the file and check the hidden option and then click OK, then your files have become invisible in windows explorer. This way is easy but can not make the file system, can only create a hidden file.

2. with command prompt

This means it needs very little knowledge of dos command in windows operating system. With the command prompt we have many options to hide your files. Like, files / folders can be changed into the windows file system (Super Hidden) so even though the windows explorer settings have been made 'Show hidden files and folders' files / folders remain invisible. the following way:

=> First you must go to CMD or Command Promt (press CTRL + R and type cmd and then press ENTER)

=> After entry into the CMD, moved into directory file / folder to your hidden.
and then type the command 'attrib', such as the following structure

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


you can see the manual by typing attrib /?
example:

attrib +s +h D:\*.doc /s /d


description:

+ s : is set to be system files
+ h : is set to be hidden files
D: \ *. doc : means all files that the extension doc who is on drive D
/ s : means selecting all the files in the current folder and sub folders
/ d : means selecting all folders (must be with the command / s)

Download Video


0 comments:

Template by : kendhin x-template.blogspot.com