Do You Have The World's Best Folder Lock Yet?

You just got to try this method out. As the headline boasts, it is the best way you can hide and lock those little personal folders of yours, away from the prying eyes of your partner, parents or even kids. Here it goes -

@ECHO OFF
title Folder Hide
if not exist readme_locker.txt goto readme
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Personal goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the 'Personal' folder (Y/N)
set /p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto exit
if %cho%==N goto exit
echo Invalid choice. Try Again.
goto CONFIRM
:LOCK
ren Personal "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
pause
goto exit
:UNLOCK
echo Enter password to unlock folder
set /p "pass= >"
attrib -h -s "c:\windows\setup.ecr"
set /p oripass= <>
attrib +h +s "c:\windows\setup.ecr"
if NOT %pass% == %oripass% goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal
echo Folder Unlocked successfully
pause
goto exit
:FAIL
echo Invalid password....
echo If you forgot the password mail me:kpmsivachand@yahoo.com
pause
goto exit
:MDLOCKER
rem echo Enter the name for create a folder to hide:
rem set /p "name= >"
echo Enter the password for hide the 'Personal' folder:
set /p "msg=>"
del "c:\windows\setup.ecr"
cls
echo %msg% >> c:\windows\setup.ecr
attrib +h +s "c:\windows\setup.ecr"
md Personal
echo 'Personal' Folder created successfully ...
echo It is created in the current directory...
pause
goto exit
:readme
echo Readme file created....
echo Follow the procedure according to the readme_locker.txt
echo ================================================>> readme_locker.txt
echo Folderlocker 1.0 (Beta) * README FILE * Nov 22, 2007 >> readme_locker.txt
echo =============================================== >> readme_locker.txt
echo CONTENTS: >> readme_locker.txt
echo 1. What is Folderlocker? >> readme_locker.txt
echo 2. Steps >> readme_locker.txt
echo 1. What is Folderlocker? >> readme_locker.txt
echo ------------------------ >> readme_locker.txt
echo Folder locker is used for the protect a folder with a password. >>readme_locker.txt
echo 2. Steps >> readme_locker.txt
echo -------- >> readme_locker.txt
echo i.Enter the password for hide the 'Personal' folder >> readme_locker.txt
echo ii.Drag the files into 'Personal' folder to protect >> readme_locker.txt
echo iii.Run the folderlocker.exe again >> readme_locker.txt
echo iv.If you want to lock the folder hit 'y' or 'Y' Without Quotes >> readme_locker.txt
echo vi.If you want to retrieve the folder run the folderlocker.exe again >> readme_locker.txt
echo vii.Give the Correct password >> readme_locker.txt
echo ============================================== >>readme_locker.txt
pause

:exit
  1. Copy the above code in NotePad or any other text editor and save it as "LockFolder.bat".
  2. Run the batch file. This will create a text file called"readme_locker.txt" in the same folder.
  3. Again double click on "folderlocker.bat" which now asks to enter a password. Input the password and now you will see a folder created, named "personal".
  4. Now copy all the contents you want to hide in this "personal" folder.
  5. Again, double click on "folderlocker.bat" which will asks you to press y/n to hide the folder. Press y.
  6. That's all. You will see your personal folder is hidden completely and also invisible if you show hidden files and folders.
  7. Later, if you want to see the personal folder just click on "folderlocker.bat" which asks to enter the password. Input it and then you the personal folder appears.

Related Posts by Glossary



0 Thoughts: