Password protected folder without any third party tool.
To make a folder password protected you just need to follow these simple steps.
- Copy this given code in a notepad and save it with a .bat extension .
- Now will find a folder with this file.
- Copy all your data in that folder and lock that folder by opening this .bat extension file.
You are all done. Enjoy.
**Note : here your password is YOURPASSWORD. You can change your password by editing the file.
Keep visiting Hackersfall.
To make a folder password protected you just need to follow these simple steps.
- Copy this given code in a notepad and save it with a .bat extension .
- Now will find a folder with this file.
- Copy all your data in that folder and lock that folder by opening this .bat extension file.
cls
@ECHO OFF
title Hackersfall
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== YOURPASSWORD goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
You are all done. Enjoy.
**Note : here your password is YOURPASSWORD. You can change your password by editing the file.
Keep visiting Hackersfall.
0 comments:
Post a Comment