Top Menu

Powered by Blogger.

Saturday, 13 September 2014

Completely Hide a File or Folder With CMD


Sometimes you may want to hide a file or folder from others. There are many software solutions out there for this purpose, but there is no need to give away money just for hiding your data from your little brother or sister. In this article we discuss how to hide or unhide folders using the attrib command in a command prompt window. The attrib command is very helpful for hiding a folder completely, in other words by using attrib command our folder is hidden and isn't visible when we select to show all files and folders. This command provides security benefits for our software programs and important documents from other users.




Step 1: Run Command Prompt and Basic Text Commands

There are several methods to run cmd.. Some of them are listed below

1. Start -> Run -> Cmd
2. Start -> Program Files -> Accessories - > Command Prompt

Command Prompt is a newer version of Dos and other OS similar to that.. In order to fulfill your needs to hide a folder you must at least know some basic commands ...

Cd - navigates through a folder
Md - creates a folder
Dir - Directory list
Attrib - provides with various attrib features

Step 2: Hide d targeted folder

Alright, it's time to hide the folder

Presuming that I have a folder named Secret in F:\ Drive
Here are the steps to do

First of all navigate through the drive u want...
type in c:
d:
e:

or whatever ... depends upon where your folder is actually located..

Type in CD and then the folder's name to hide a folder within another folder

Now type in Attrib +h +s +r and the folder's name
here's the format

Attrib +h +s +r secret                           (Note: Secret refers to the folder to be hidden)

The folder is hidden and no one can access the folder but u..

Now if u want to view the folder
reverse the process
instead of   Attrib +h +s +r secret  type in
Attrib -h -s -r secret

Step 3: Instant Access to the folder

Here's a cool tip to access the folder even while the folder is hidden...

Open My Computer and type in      f:\secret


Cool Right?

No comments: