How To Hide Folders In Windows 10 Using CMD

How To Hide Folders In Windows 10 Using CMD

If you ever needed to hide folders in your Windows 10 PC, then you are on the right page which will guide you through how to accomplish this using Command Prompt (CMD) .

Most times, PC users might hive documents or files which they want to keep away from prying eyes. The common way of keeping such folders hidden is by moving them into a list of folders or even renaming the file to another extension.

Do you know there is an easier way to hide almost any type of content on your computer permanently using command prompt? This method is not the usual way of hiding folders on Windows like using the properties panel to enable “Hidden” functionality which can easily be viewed if the another user decides to changed the option to “Show hidden files and folders”.

The CMD method allows your Windows PC to keep your specified files or folder completely hidden from the Explorer.

How To Hide Folders In Windows 10 Using CMD

Follow the steps below to hide folders permanently in windows:

1. First, Do a search for Command Prompt on your windows PC and click the result.

RELATED:  How to Cancel Your Apple Fitness+ Subscription

2. Type the command below on the command prompt screen to navigate to the hidden items location and press Enter:

cd C:UsersadminDesktopFiles

Note: You need to replace the path after cd with the path of the file or folder you want to remain hidden.

3. Type the following command and press Enter:

attrib +h +s +r "folder name"

Remember to replace  “folder name” with the name of the folder that you want to hide. Quotation marks are only necessary when there are spaces in the name.

That’s all, your folder or file is now completely hidden on your computer. Incase you need to make hidden folder visible, follow the steps below.

While in Command Prompt type the following command and press Enter:

attrib -h -s -r "folder name"

Final Note: You can view hidden folders by typing the cmd command “dir /AH”.

Don't forget to leave a comment through the comment section below and also try as much as possible to share this post with your friends on various social media platforms.

RELATED:  How to Easily Convert MTN Pulse Points to Data

Leave a Comment