32 C
Varanasi
Wednesday, October 16, 2019

How To Hide Folder Using CMD Attrib Command

Must Read

How to Delete Windows.Old Folder? 3 Ways To Delete and Save Space

When you upgrade an old version of Windows to a newer one, there is always a folder generated automatically...

Huawei Announced EMUI 10 Upgrade Schedule For 33 Huawei/Glory Mobile Phones & Tablets

Last month, Huawei introduced its brand new OS called HarmonyOS at the developer conference in Dongguan. Along with its...

Meizu 16T Gaming Smartphone Is Arriving On October 23rd, Surfaced On TENNA

Meizu announced a gaming smartphone last year ago but for some reasons, it could not make happen. It is...
Pravin Kr. Chandra
A gadget freak who loves to explore, gadgets and tech-related content on the web.

The privacy should be the priority first whether it is your personal life or your professional life. Now, in today’s world privacy is the hottest topic among all. If you are a daily computer user Or computer is the part of your daily activity then there is something on your computer that you would not want to share with anyone else. If you would not wish to share those file or folder with anyone else then what will you do? You can either make a password protected file or folder for that or you will hide that particular folder. In this article, we will learn how to hide file or folder with the attrib command.

What is attrib commands?

Before starting the steps we should first know that “what is attrib command?”

The attrib command is basically the command prompt command that is used to remove and set file attributes. Like, using the attrib command you can make A hidden file (No one can see the file or folder which is hidden by the user), A read-only attribute to the file (people can see the file but cannot delete it or can’t make any changes into the file), Archived (Provide a backup of file. Hence help in recovering of files).

Parameters of attrib command: –

Here are some parameters that are used when you apply the attrib command.

  1. +h: – Used to make the file attribute as hidden not visible to the user.
  2. -h: – Used to clear the hidden file attribute.
  3. +r: – Used to set the file attribute as read-only.
  4. -r: – Used to clear the read-only file attribute.
  5. +s: – Used to set the file attribute as a system file.
  6. -s: – Used to clear the system file attribute.
  7. +a: – Used to set the file attribute as an archive.
  8. -a: – Used to clear the archive file attribute.

Now, now you are aware of the parameter for the attrib command. Now start our main purpose for which you are here. Let’s start

How to hide and unhide file and folder: –

Note: – You should always have to remember the path and the folder name you are hiding. It is very important because if you forget the name and the path of the folder and files then you will unable to recover it after. So make sure To write Drive letter for the path a folder and its name it on a paper or anywhere else where yeah you can get it easily.

Steps to hide file folder using the attrib command: –

Step 1: – Open your command prompt. To do this, start your Windows system click on the Windows start button [wp-svg-icons icon=”windows8″ wrap=”i”] type CMD and run it as administrator.

Step 2: – Now now type the letter of your Drive where the folder is stored. In my case it is “E”. So, I will type the command “e:”. By typing this command you will enter the exact drive where the file is Store. Now press enter.

attrib command 1

 

Step 3: – Now, to hide the folder you will need to type the following command:

attrib folder-name +s +h +r

attrib command 2

As in my case, my folder name is “hideit”. So I have to type the following command:

attrib hideit +s +h +r

Now, as a result, your file or folder is it now hidden. You can check it by going to the destination folder drive.

Step 4: – Now you have done what you wanted to do. The folder is hidden now so no one can see what you hide except you.

attrib command 3

Now after all of these also have to unhide the folder just in case if you want to use those file or folder again. Now, to unhide it you have to type the same command except the science the sign of the attributes. See the following command to unhide file As given below:

attrib hideit -s -h -r

The above command is given for my case. For you, replace hideit with your folder name.

Now all is done, you hide and unhide this file and folder but make sure to Remember all the command along with your drive path letter and the file name. It is very important for the future purpose if you want to restore those file again. So make sure you have done it.

Latest News

How to Delete Windows.Old Folder? 3 Ways To Delete and Save Space

When you upgrade an old version of Windows to a newer one, there is always a folder generated automatically...

Huawei Announced EMUI 10 Upgrade Schedule For 33 Huawei/Glory Mobile Phones & Tablets

Last month, Huawei introduced its brand new OS called HarmonyOS at the developer conference in Dongguan. Along with its own operating system, the Chinese...

Meizu 16T Gaming Smartphone Is Arriving On October 23rd, Surfaced On TENNA

Meizu announced a gaming smartphone last year ago but for some reasons, it could not make happen. It is not much time passed as...

How To Get Rid Of A Virus On PC Without Having Antivirus

Okay, you start experiencing that your PC is not working properly. You have noticed a sudden drop in its performance. Well, there are many...

DXOMARK Rating: Huawei Mate 30 Pro Top The List With 121 Points

DXOMARK rating for Huawei Mate 30 Pro has been released, and it shows that Mate 30 Pro provide a better image quality than Samsung...

More Articles Like This