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

Edited by John Carlo Pattaguan, Eng, Alma, Rob 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

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

Tips Tricks & Warnings

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

Questions and Answers

If you have problems with any of the steps in this article, please ask a question for more help, or post in the comments section below.

Comments

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

User Reviews

There is no user reviews.

Article Info

Categories : Tech

Recent edits by: Nuance, Doug Collins, Inukshuk

Share this Article:

Thanks to all authors for creating a page that has been read 4,749 times.

Did this article help you?
 
x

Thank Our Volunteer Authors.

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