Thursday, July 8, 2010

Hide folders in XP the Command Prompt Way...

Want to hide your secrets from other users?? No Software Required..A single line code in cmd and you are done.

To Hide:
1) Open Command Prompt (Run>cmd)
2) type- attrib +s +h filepath and press enter












To Unhide:
1) Open Command Prompt (Run>cmd)
2) type- attrib -s -h filepath and press enter


But if you are too lazy to type the code every time.. you can also create a batch file for the same.
1) Open Notepad
2) type- attrib +s +h filepath and save the file with .bat extension
Do the same for the unhide code. Now to hide the folder just click on the batch file specified for hiding(say hide.bat) and to unhide it click on the unhide.bat
Note:
If your folder name contains blank spaces enter the filepath in quotes ("")

No comments:

Related Posts with Thumbnails