SUPER Hidden Files/Folders

12,806

26

29

Introduction: SUPER Hidden Files/Folders

I like just about anything to do with computers. Batch is my favorite thing to program and yeah, ...

<>

Hi, I'm new, so don't get cranky if I stuff it all up. This Instructable is much better than all of the rest! This method uses batch to hide files. The hidden files are completely search-proof. (i.e even if you search for them, no results will come up.)

Step 1: Creating the Program

O.k. Open up notepad. Copy the following into notepad:

@echo OFF
title Super Hidden Files Creator - By James

echo Password...
set/p "com=>"
if %com%==unlock goto ALLOW
echo WRONG!
pause
echo Choose Your Fate...
echo 1. ???
echo 2. Delete all of your documents.
echo Type 1 or 2
pause >nul
shutdown -im -r
goto End

:ALLOW
color C
cls
echo ACCESS GRANTED
pause
cls
color 7
echo Name of the folder
set/p "fol=>"
if EXIST %fol% goto SELECT
if notEXIST %fol% GOTO notfound

:notfound
ECHO File Not FOund
goto End

:SELECT
echo Hide/Unhide [h/u]
set/p "com=>"
if %com%==h goto HIDE
if %com%==u goto UNHIDE

:HIDE
attrib %fol% +s +h
goto End
:UNHIDE
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==unlock goto FAIL
attrib %fol% -s -h
goto End

:FAIL
echo Invalid password
pause
goto End

:End
exit

Step 2: Finally...

Finally save it and change the file extension (.txt) to .bat
Open it up, type in 'unlock' without the quotes. After it comes up with ACCESS GRANTED, type in the file that you want to hide. (the file must not have any spaces, and the batch file that you just created must be in the same folder/Directory as the file you want to hide). Once you have typed in the name of the file that you want to hide (and pressed enter), type h and press enter.

To Unhide...

Open up the batch file, get to the area where it says name of file. Type the file that you hid and press u.

Enjoy!

P.S. I have had a comment asking for help. I cannot help you or anyone else who asks. You can download the program and follow on using this step.

Sorry

Share

    Recommendations

    • Creative Misuse Contest

      Creative Misuse Contest
    • Fix It! Contest

      Fix It! Contest
    • Tiny Home Contest

      Tiny Home Contest

    29 Discussions

    i i don't know how to use this program :( can you make some tutorial or pict about this?

    i i don't know how to use this program :( can you make some tutorial or pict about this?

    i i don't know how to use this program :( can you make some tutorial or pict about this?

    helpppp. my usb i used this ructable. i thought it was great until the diasster. i have heaps and heaps of games i download and im trying to hide them from my mum, she will kill me if she finds them but thats not important. i accidentaly deleted the shortcut batchfile from my usb while my folder of games was hidden. i also forgot the folder name and now i cant get back my games file. is there a way that using comand prompt you can get the folder back. help. im sure someone else will encounter this problem sooner or later son help.

    my one is awesome

    @echo off
    title Super Hidden Folders Creator- By Michael.

    echo Identify.
    set/p "com=>"
    if %com%==I'm-Awesome goto ALLOW
    pause

    :ALLOW
    pause
    cls
    echo I Know!
    echo File Name...
    set/p "fol=>"
    if EXIST %fol% goto SELECT
    if NOTEXIST %fol% goto NOTFOUND

    :NOTFOUND
    echo File Not Found.
    pause
    goto END

    :SELECT
    echo Hide/Unhide? [Hide/Unhide]
    set/p "com=>"
    if %com%==Hide goto HIDE
    if %com%==Unhide goto UNHIDE

    :HIDE
    attrib %fol% +s +h
    goto END

    :UNHIDE
    echo Password.
    set/p "pass=>"
    if NOT %pass%==irule goto FAIL
    attrib %fol% -s -h
    ping localhost -n 3 >nul
    echo Unlocked Succesfully.
    goto END

    :FAIL
    echo Incorrect.
    pause
    goto END

    :END
    pause
    exit

    instead of it saying well done or the original thing it says i know which is cool when the password is I'm-Awesome. it says 'I know.'

    try it out.
    (second password is irule.)

    Ok... Awesome instructable. Helped me learn batch.
    But, Great as it is, i did find a few, just a few, flaws:
    1. When the file isnt found, it doesnt go to the NOTFOUND part of the script.
    2. It ends a little suddenly, as in, if you type it wrong, it just ends, instead of telling you.
    3. The access granted screen is red, so more than once, i thought i messed up.
    4. It gives you the option of shutting down the computer, now, whos gonna say yes to that, instead of just x'ing out?

    So, i added a few things.
    1. Got rid of the shut down.
    2. Made a "press any key" screen before it ends.
    3. Made a timer on the unlocking, so it stalls 3 seconds.(makes it slicker)
    4. A couple other things i cant remember.

    Here's the code:

    @echo off
    title Super Hidden Folders Creator- By James, Edited by Wesfletch

    echo Identify.
    set/p "com=>"
    if %com%=="password here" goto ALLOW
    pause

    :ALLOW
    pause
    cls
    echo Well Done.
    echo File Name...
    set/p "fol=>"
    if EXIST %fol% goto SELECT
    if NOTEXIST %fol% goto NOTFOUND

    :NOTFOUND
    echo File Not Found.
    pause
    goto END

    :SELECT
    echo Hide/Unhide? [Hide/Unhide]
    set/p "com=>"
    if %com%==Hide goto HIDE
    if %com%==Unhide goto UNHIDE

    :HIDE
    attrib %fol% +s +h
    goto END

    :UNHIDE
    echo Password.
    set/p "pass=>"
    if NOT %pass%=="2nd Password Here" goto FAIL
    attrib %fol% -s -h
    ping localhost -n 3 >nul
    echo Unlocked Succesfully.
    goto END

    :FAIL
    echo Incorrect.
    pause
    goto END

    :END
    pause
    exit

    (remember to put your own passwords)
    There it is!!!!
    Happy Batching
    -WesFletch

    There is only one flaw I found. If you need to hide a document in a folder and you use this, it may be search-proof, but it shows up in the Recent Documents list. Everything besides recently edited documents are 100% secure.

    Yes really its helpfull for all of us.Thanks again. I have first time found the original solution of this Super hidden mater. Thanks.

    That's ok. If you want to look for other things, google them. Yahoo answers is also a good source!

    im working on batch and c++ im not very good
    but you need to break the bat file down and explain how it works

    please read the little message at the very end of this instructable. Please download the file. I seriously cannot help you. Im so sorry. AND IT WAS MY FIRST INSTRUCTABLE TOO.

    It's just weird having the photo of the program when I just gave you the program