How To Hide Any File Or Folder Using Command Prompt {CMD Trick}

How To Hide Any File Or Folder Using CMD:

We all hide some files and folders if it contains any security information. For hiding files and folders, most of the people use different software. But some of the software may not work properly and also have a chance of getting a virus on your PC. But today, I am here to explain a simple trick to hide any file or folder. This method doesn’t require any additional software. You can hide any file or folder using Command Prompt. What you heard is right! Yes, we can hide any file or folder using CMD. So, let’s begin the tutorial.

Also Check: How To Change Windows Password Without Knowing Old Password

hide-file-folder-using-command-prompt-cmd

How To Hide Any File Or Folder Using Command Prompt On PC:

If you are searching for how to hide any files or folders using CMD? Then you are in the right place. In this article, I am going to explain the complete step-by-step procedure to hide files and folders using Command Prompt. Steps to be followed to hide files or folders using Command Prompt (CMD) are:

  • Firstly, you have to open your Command Prompt (CMD) on your PC.
  • Make sure that run CMD as an Administrator.
  • Once the terminal got opened, Now simply type  attrib +s +h ‘Path of a file or folder.’
  • For Example attrib +s +h E:\hello [Here hello is the folder name]
  • Then hit Enter.
  • That’s it. You have successfully hidden your file or folder using CMD.

Also Check: How To Download Instagram Photos And Videos On PC

How To Unhide The File Or Folder Using CMD?

Once you hide the file or folder using above method, then a question arises. How to unhide it? So to unhide them, you have to follow some steps. Steps to be followed to unhide file or folder using Command Prompt are:

  • Firstly, run CMD as an Administrator and open it.
  • Once opened, Then type  attrib -s -h ‘Path of a file or folder.’
  • For Example  attrib -s -h E:\hello
  • Then hit enter.
  • That’s it. The hidden folder or file will become unhidden. Now access them with My Computer.

Conclusion:

Users can hide their files or folders without using any software. They can hide their files or folders by following the above-mentioned method. {I.e through Command Prompt (CMD)}. If you face any problems while hiding files or folders using CMD, feel free to comment below.

Also Check: Fix: IDM Has Been Registered With A Fake Serial Number In Windows PC

Leave a Reply