Lock your folder Without any Software
Folder Protector v1.0 :
Instructions to Execute:
- Copy and paste the below source code into notepad
- Save it as any name .bat (anyname.bat ex: Gokul.bat)
- Then Double click the File you saved i.e Gokul.bat
- At this time, Your Secret folder will be displayed
- Now place your all secret files and folders into it
- Then Double click the file Gokul.bat Once again
- Now, It will ask you to password to lock your folder
- Here I have Assigned your computer’s user name is password
- If you Don’t know your user name just open cmd or Terminal and type “msg * %USERNAME%” it will pop_up your User name
- After enter the password just Hit Enter Now Your folder will be locked/Protected
- If you Want to Retrieve your files again, Double click Gokul.bat once again
- 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
-Gokul
To Download my Application
No comments:
Post a Comment