Friday, December 13, 2013

Folder Locker v1.0

Lock your folder Without any Software

Folder Protector v1.0 :

Instructions to Execute:
  1.       Copy and paste the below source code into notepad
  2.       Save it as any name .bat (anyname.bat ex: Gokul.bat)  
  3.       Then Double click the File you saved  i.e Gokul.bat
  4.       At this time, Your Secret folder will be displayed
  5.       Now place your all secret files and folders into it
  6.       Then Double click the file Gokul.bat Once again
  7.       Now, It will ask you to password to lock your folder
  8.       Here I have Assigned your computer’s user name is password
  9.      If you Don’t know your user name just open cmd or Terminal and type “msg * %USERNAME%” it will pop_up your User name
  10.    After enter the password just Hit Enter Now Your folder will be locked/Protected
  11.    If you Want to Retrieve your files again, Double click Gokul.bat once again
  12.    It will ask password to Un-Lock folder Type your Password and Hit Enter now your folder will be retrieved 




Source Code:

@echo off
:AGAIN
cls
color 0a
title Gokul's folder protector V1.0
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST %USERNAME% goto MDLOCKER
:CONFIRM
set/p pass=%USERNAME% Enter password to Lock:
if %pass%==%USERNAME% goto LOCK
msg * Sorry %USERNAME% Ivalid Password, Click OK to Try Again...!
Goto AGAIN
goto CONFIRM
:LOCK
ren Gokul "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
msg * %USERNAME% Your Folder has Protected...:)...!
goto End
:UNLOCK
set/p pass=%USERNAME% Enter the Password To Un-Lock Folder:
if NOT %pass%==%USERNAME% goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" %USERNAME%
msg * %USERNAME% Your Folder Unlocked successfully....:)...!
goto End
:FAIL
msg * Sorry %USERNAME% Invalid Password, Click ok to Try Again...!
goto AGAIN
:MDLOCKER
md %USERNAME%
msg * %USERNAME% , Your Folder Created Successfully....:)...!
goto End
:End 
     
  Developer
  -Gokul


To Download my Application




No comments: