Friday, 12 April 2013

How to create a hidden and unsearchable file in windows XP,Vista and Seven

If we change the properties of the file to hidden (right click on the file->properties- >tick hidden) Then properties of the file become hidden. But if show hidden files & folder is enable (folder option- > view->hidden files & folder - > tick show hidden files & folder) then it shows that file. This process is not reliable. We have to change the attribute of the file to hidden and unsearchable bycommand prompt. Suppose there is a file “”xxx.jpg” inside the folder “rock” in d: drive. We have to make hidden and Unsearchable to that file using command “attrib +s +h” in command prompt. Also See: How to create a hidden and unsearchable folder in Windows XP, Vista and Seven Step1:- Open command prompt (window logo key + R- > type “cmd”-> hit enter) E.g. It will display the command prompt screen. C :\> Step2:- Type attrib +s +h [file path] ->hit enter e.g. C :\> attrib +s +h d:\rock\xxx.jpg This will make the file “xxx.jpg” hidden and unsearchable NOTE:- 1. We can use that file by typing the full path of the file (i.e. d:\rock\xxx.jpg) in the Address bar. 2. For change its attribute to unhidden and searchable use the command attrib “–s –h” in step2. e.g. C :\> attrib -s -h d:\rock\xxx.jpg NOTE:- 1. +s- makes the attribute of the file & folder to system. 2. +h- makes the attribute of the file &folder to hidden. 3. –s- removes the attribute of the file& folder from system to General file. 4. –h- makes the attribute of the file &folder to un hidden.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.