Posted by : SHOUMIK DAS Personal Monday 2 December 2013

To keep your secret files on your PC just follow these simple steps

To create locker folder
1.Open notepad
2.copy paste below code
3.Save as this file with extension ".bat" [ example : secret.bat ]
4.Double click on this file-It will create a folder named "Locker"
5.Save all secret files on this folder "Locker"

Lock this folder
6.Now again double click on bat file,then system will ask whether you need to lock or not type "y" and enter
7.Now folder "Locker" is disappeared :)

To unlock folder
8.Double click on ".bat" file
9.Enter your password and press on enter button 
[default password is 12345 , you can edit this in code below -code line no.21
10.Folder "Locker" is visible now


Code : 

cls@ECHO OFFtitle Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==12345 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Popular Post

Blogger templates

Powered by Blogger.

- Copyright © IT Knowledge...! -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -