Hide Folders using Command Prompt

This is a small trick which can be done by changing the attributes of folders

1. Open Command prompt.

2. Type the command given below to hide the folders
          Attrib +s +h drive:\folder name

3. To retrive your file use this command
          Attrib –s –h drive:\folder name


For example: Lets assume that there is a folder called ‘X’ in drive ‘D’

I will hide it by use the command
          Attrib +s +h D:\x

That’s it you done it. If you want it back, use this command
         Attrib –s –h D:\x

 

0 comments:

Post a Comment