Home » Tips » How to Hide your personal files?

How to Hide your personal files?

Wednesday, August 1st 2012. | Tips

Here is a simple method to hide your personal files. Copy and paste the below text in notepad and save the file as “locker.bat”

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

Search for the word “test” and replace with a password of your own.Opening this file for the first time will create a folder named “locker”. Copy all your files to this folder and when you are ready to lock you folder, simply double click the locker.bat file. :-)

Next time when you want to view/open the locker folder open the locker.bat file and enter the password.

The above method has some negative points..

  1. Anyone can accidentally delete the locker.bat file (of course you can recreate the file and get back your files)
  2. Anyone with good computer knowledge can open the locker.bat file in notepad and find your password.
tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *