Hide Files or Folders Using Command Prompt

You have a folder named "photos" and this folder is stored in (Disk Drive D). You think that it should not be seen by strangers who use your PC.


For that you need to follow the following instructions
  1. Press windowkey+R: Run command dialog box appears.
  2. Now type "cmd" and hit enter. A command prompt window displays.
  3. Now type "attrib +s +h D:\photos" and hit enter.
  4. The folder "collegephotos" will be hidden (Note: It cannot be viewed by any search options)

    (To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h')
OR

1. The format to unhide filename

attrib -h filename
    2. The format to unhide folder+files

    attrib -h /s /d foldername

    3. To hide file simple change the -(clears an attribute) to +(add an attribute) following by H or S

    attrib +h filename
    attrib +h /s /d foldername

    Comments

    Popular posts from this blog

    How to Play IPL Live Stream (.m3u8) File in Windows Google Chrome or MX Player