Hide/Unhide your files in your computer without using any Software

Edited by John Carlo Pattaguan, Anonymous, Eng, Alma and 5 others

This tutorial will guide you to Hide/Unhide your files on your computer without using any software. Essentially, you are creating a folder with it's own password, which is useful, especially if you have confidential files you need hide, because you don't want anyone to see them but you. This isn't recommended if you don't navigate your computer easily.

Was this helpful? Yes | No | I need help

Ad

Code

cls@ 
ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Go to UNLOCK
if NOT EXIST Locker Go to MDLOCKER
:CONFIRM
echo Are you sure you want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y Go to LOCK
if %cho%==y Go to LOCK
if %cho%==n Go to END
if %cho%==N Go to END
echo Invalid choice.
Go to CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
Go to End
:UNLOCK
echo
Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==VisiHow Go to FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
Go to End
:FAIL
echo Invalid password
Go to end
:MDLOCKER
md Locker
echo Locker created successfully
Go to End
:End

Instructions

  1. 1
    Open your Notepad:
    Click "Start" button, then search for "Notepad".
    Advertisement
    Was this step helpful? Yes | No | I need help

  2. 2
    Cut and Paste the above code into your notepad window.
    Advertisement
    Was this step helpful? Yes | No | I need help

  3. 3
    Replace "VisiHow" with your desired password.
    Was this step helpful? Yes | No | I need help

  4. 4
    Save it as "Locker.bat"
    Was this step helpful? Yes | No | I need help

  5. 5
    Double click the Locker.bat to create a folder named "Locker", then paste all files you want hidden in Locker Folder
    Was this step helpful? Yes | No | I need help

  6. 6
    Double click the locker.bat then type y + enter to hide the folder.
    Was this step helpful? Yes | No | I need help

  7. 7
    Double click the locker.bat then type the password you created to get into or unhide the folder.
    Was this step helpful? Yes | No | I need help

  8. 8
    Good job!
    You're done.
    Was this step helpful? Yes | No | I need help

    Advertisement

Tips Tricks & Warnings

  • Deleting locker.bat will delete locker folder even if it's hidden.

Questions and Answers

How can I unhide my files if I hid them and someone deleted my .bat file?

I hid it and then somebody deleted my .bat file. I tried the commands:. attrib -h -s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309D}". ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309D}" Locker. but it doesn't want to show me the file. Please help, I have all my pictures, movies, choll work in the map that I hid.. I have tried: I have tried the commands: CD C:\Docs attrib -h -s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309D}" ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309D}" Locker

Was this helpful? Yes | No | I need help

I made the same .bat file again but it only asked me if I want to lock the map, and didn't show any maps when I typed in the password. I think it was caused by: Well I hid the files and then somebody deleted my .bat file.

Was this helpful? Yes | No | I need help

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

Comments

VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.




Mr shama006
Premier Author
0 Articles Started
3 Article Edits
1,100 Points
Mr shama006 is a premier author with VisiHow. Mr shama006 has achieved the level of "Recruit" with 1,100 points. Mr shama006 has started 0 articles (including this one) and has also made 3 article edits. 100 people have read Mr shama006's article contributions.
Mr shama006's Message Board
Mr shama006: Hi, my name is Mr shama006.
Mr shama006: Can I help you with your problem about "Hide/Unhide your files in your computer without using any Software"?
 

Article Info

Categories : Tech

Recent edits by: Doug Collins, Inukshuk, Dougie-1

Share this Article:

Thanks to all authors for creating a page that has been read 3,640 times.

Do you have a question not answered in this article?
Click here to ask one of the writers of this article
x

Thank Our Volunteer Authors.

Would you like to give back to the community by fixing a spelling mistake? Yes | No