How to Hide Files and Folders in Windows ?





How to Hide Files and Folders in Windows ?

Here we can use Command Prompt to hide files and folders on your computer.

  1. Open the command prompt and type the following command to navigate to the data you want to hide and press Enter:
    • cd C:\Users\admin\Desktop\Files
  2. In the command replace the path after cd with the path to your file or folder.
  3. Type the following command to hide a folder or file and press Enter:
    • attrib +h +r +s “FolderName OR Windows Path”
  4. In the command replace “FolderName OR Windows Path” with the name of your folder or file. Quotation marks are only necessary when there are spaces in the name.
 Hiding Files

Learn Ethical Hacking - Ethical Hacking tutorial - Hiding Files - Ethical Hacking examples - Ethical Hacking programs

How to unhide Files and Folders in Windows ?

Here we can use the following steps to remove the hidden attribute for files and folders.

  1. Open the command prompt and type the following command to navigate to the hidden data location and press Enter:
    • cd C:\Users\admin\Desktop\Files
  2. In the command replace the path after cd with the path to your file or folder.
  3. Type the following command to make the data visible again and press Enter:
    • attrib -h -r -s “FolderName OR Windows Path”
 Unhiding Files

Learn Ethical Hacking - Ethical Hacking tutorial - Unhiding Files - Ethical Hacking examples - Ethical Hacking programs



Related Searches to How to Hide Files and Folders in Windows ?