You can lock a folder with password without using any softwares. Just follow these simple steps...
1. Open Notepad and copy the below code
2. Change your password in the code-> PASSWORD
3. Save file as locker.bat
4. Now double click on locker.bat
5. It will create a folder with Locker automatically for u.
After creation of the Locker folder, place the contents u want to lock inside the Locker Folder and run locker.bat again. This will hide and lock the Folder.
------------------------------ -----------
1. Open Notepad and copy the below code
2. Change your password in the code-> PASSWORD
3. Save file as locker.bat
4. Now double click on locker.bat
5. It will create a folder with Locker automatically for u.
After creation of the Locker folder, place the contents u want to lock inside the Locker Folder and run locker.bat again. This will hide and lock the Folder.
------------------------------
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-
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-
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== PASSWORD goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-
ren "Control Panel.{21EC2020-3AEA-1069-
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Enjoy!! :D
No comments:
Post a Comment