Hide Files Using CMD (Not D Folder Option Method)

134,054

12

22

Posted

Introduction: Hide Files Using CMD (Not D Folder Option Method)

This is my second instructable. This one is totally different from my previous post...

In this esteemed instructable i'll be guiding you to hide a folder by using cmd.. Even the folder option method won't be able to track the hidden folder

You'll need
1. Windows based operating system

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. Starrt -> 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 atleast 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 noone 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?

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    20 Comments

    One thing you cna do with this command in cmd is create a password protected folder. Since the folder is still accessible when hidden, name the folder what ever you want the password, and keep it hidden. Someone could just type in F:/secret to get that information but this wayh you can type in F:/password and then it will come up.

    How to make a file hidden even show hidden files and unhide protected files option are enabled.. If any one know acknowledge me with your answer

    perfect :D just what i was looking for, u sir really are "always better"

    Hey "always better" when i m using "everyone:n" it shows invalid parameter everyone:n

    what should i do

    Hey all of you here's a better one :
    see pals doing attrib +h +r +s just makes it an operating system file you can make it viewable by doing the following :
    1. folder and search options
    2. view
    3. uncheck hide protected operating system files

    Now everyone can see and access it but the better part is you can make it unsearchable, inaccessible by doing the following with the folder after you apply attrib +h +r +s :
    1. go to cmd ( i guess you know common cmd commands like cd, md, rd etc..)

    2. now type cacls foldertolock /e /p everyone:n
    here foldertolock refers to the folder which you want to make inaccessible, after doing the following you can make your folder unsearchable as well as inaccessible it can not even be opened with run or directing the address bar to open the locked folder, it will simply reply
    foldertolock is inaccessible
    access is denied.
    and to unlock it simply replace n with f ie.. cacls foldertolock /e /p everyone:n to cacls foldertolock /e /p everyone:f

    nice sir....................... really you are "always better".

    Thankx....................

    By using the above technique it has been locked successfully but it is not able to unlock and if we type the unlock command-"cacls foldertolock /e /p everyone:f"
    then it just says "ACCESS IS DENIED".
    Please help me????

    If you are using Windows 7, then follow below process to get access your folder.

    1) Go to Organize then Click on folder and search options.

    2) Go to View tab then select show hidden files, folders and drives also uncheck hide protected operating system files. See the image.

    3) Right click on your folder then click on properties, then go to security tab, here you will see that access for everyone is denied, So select everyone and click on Edit... button. Here a popup box will appear, so select allow for full control and then click on OK button. now you have access to the folder. See the image.

    showHiddenFolder.JPGAccessPermission.JPG

    Look, Swapsrocks, this is what you need to do:

    icacls YourFolderName /reset /t

    icacls YourFolderName /grant Administrator:d

    cacls YourFolderName /e /c /g %username%:f

    if this dont work then you need to use ubuntu or linux to remove it.

    Hey Swapsrocks i'm sorry i was late to reply actually i lost my password and i made a new account.
    so here is the solution, :
    1. If you are unable to unlock it, i mean if it says "ACCESS IS DENIED" then goto folder and search options, then view, then uncheck "hide protected operating system files"
    2. now simply download a registry file named "take ownership", you can google it and you will get this very easily
    3. after applying the registry, now right click on folder which you were unable to unlock and click on take ownership, now you would be able to access it!
    know what, the same thing happened to me. almost everytime this trick works but sometimes it deceives you i don't know why but sometimes unfortunately it happens.
    ALL THE BEST!