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:

RELATED:  How to Recover Deleted Files on Google Drive

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

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”.

 

Hownaijablog participates in the Amazon Services LLC Associates Program; therefore, some pages on this website may contain affiliate links. When you buy through these links, I may earn an affiliate commission at no extra cost to you.

78359ec12c81b3bd15d68d39aa16d85a?s=250&d=blank&r=g How To Hide Folders In Windows 10 Using CMD

Leave a Comment