Hide Files or Folders Using Command Prompt
Here is a trick to easily hide your personal or confidential folder/s. Now keep in mind once hidden it cannot be viewed even if you select to Show All Hidden Files and and folders option. make sure to take a snapshot of the folder directory before hiding it.
1. Press windows key + R on your keyboard to Open the Run window.
2.Here enter “cmd” and press OK Button to open the command prompt.
3. In the command prompt enter the following command:
attrib +s +h C:\Users\User\Desktop\Xfolder and hit enter.
4.Replace C:\Users\User\Desktop\Xfolder to your folder directory
5. Notice the “Xfolder” Disappear and cannot be viewed even if you check mark View hidden files and folders in the folder options.
6. To view this folder again, use the same command:
attrib -s -h C:\Users\User\Desktop\Xfolder and hit enter. Replacing ‘+’ with ‘-‘ on both ‘s’ and ‘h’