How to completely hide a folder with a single command on Windows

Suppose if your computer has content folders, important data that you don't want others to know, access and steal information, then you can apply the solution to hide that folder. . In previous articles Network Administrator introduced and showed you some ways to hide folders. However, the limitation of these solutions is that other users can manipulate to display the folder, so your data will not be safe.

In the following article, Network Administrator will guide you how to completely hide a folder with a single command on Windows. Even if other users gain unauthorized access to your computer and enable the option Show hidden files and folder to display the folder, your folder will not be displayed.

Step 1:

Find the location of the folder you want to hide.

Step 2:

Next press Shift and right-click the folder.

Step 3:

At this time, a context menu will appear.

How to completely hide a folder with a single command on Windows Picture 1

Step 4:

At this menu, you find and click on the Open command windows here option .

Step 5:

Next enter the following command into the Command Prompt window:

attrib + s + h "foldername"

How to completely hide a folder with a single command on Windows Picture 2

Note:

In the above statement, replace "foldername" with your directory name.

Step 6:

Now that your folder is completely hidden, no user can display this folder anymore.

Step 7:

If you want to display the folder, follow the same steps and enter the following command into the Command Prompt window:

"foldername" attrib -s -h

Note:

In the above statement, replace "foldername" with your directory name.

Refer to some of the following articles:

  1. How to share a folder (folder) via LAN on Windows 10
  1. Use CMD to create an 'undeleted' folder on Windows
  1. 7 commands to manipulate the most basic files and folders everyone must know

Good luck!

5 ★ | 1 Vote

May be interested

  • How to Set Password for Folder and File in WindowsHow to Set Password for Folder and File in Windows
    you have some important documents in an important folder or file that you don't want others to see. the following article will show you how to encrypt or create a password to protect a folder or file to ensure that no one will be able to open it but you and the recipient.
  • How to Hide a Folder on WindowsHow to Hide a Folder on Windows
    windows offers a feature that allows folders to be hidden from view under normal circumstances. this feature is typically used for program files so that they don't clutter up your computer when you are normally using it, but you can...
  • 6 ways to rename files and folders in Windows 106 ways to rename files and folders in Windows 10
    renaming a file or folder is a common task that is probably familiar to any windows user. however, few people know that there are 6 different ways to rename a file or folder on windows 10, specifically as follows:
  • How to open folders hidden on the system with the Shell command on Windows?How to open folders hidden on the system with the Shell command on Windows?
    on the operating system there are many hidden system folders that can be identified on the windows registry with the clsid key, the specific folder name and the folder location on your computer.
  • How to Block Wi-Fi Networks in WindowsHow to Block Wi-Fi Networks in Windows
    you can completely hide a wi-fi network or prevent it from showing up again. you can also block all other wi-fi networks, allowing your computer to only show and connect to the wi-fi networks you want easily.
  • How to Change Directories in Command PromptHow to Change Directories in Command Prompt
    this wikihow teaches you how to change the folder (also known as the 'directory') in which your windows computer's command prompt program operates. to make changes in command prompt, you must be using an administrator account. open start....
  • 4 ways to delete Windows.old folder on Windows 10 computer4 ways to delete Windows.old folder on Windows 10 computer
    instructions on how to delete the windows.old folder on windows 10 with ccleaner, disk cleanup, command prompt, easy and fast storage feature. click view now!
  • How to hide folders and data on Windows 10 MobileHow to hide folders and data on Windows 10 Mobile
    9zen universal locker is an application that helps lock passwords and important files. if others want you to open the folder, we can enter a fake password and will not display the contents of the file inside.
  • How to Lock a Folder on WindowsHow to Lock a Folder on Windows
    this wikihow teaches you how to hide files in a secret locked folder in windows 10. press . this opens the file explorer.
  • Tricks to hide files or folders on Windows, Mac OS X and LinuxTricks to hide files or folders on Windows, Mac OS X and Linux
    hiding, hiding folders or files on your computer partially ensures the security of the information contained in the folder or files that are not found by others.