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.
- 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
- In the command replace the path after cd with the path to your file or folder.
- Type the following command to hide a folder or file and press Enter:
attrib +h +r +s “FolderName OR Windows Path”
- 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.
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.
- 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
- In the command replace the path after cd with the path to your file or folder.
- Type the following command to make the data visible again and press Enter:
attrib -h -r -s “FolderName OR Windows Path”
Learn Ethical Hacking - Ethical Hacking tutorial - Unhiding Files - Ethical Hacking examples - Ethical Hacking programs