- Messages
- 26
- Reaction score
- 0
- Points
- 26
Tried this in win7...pakitry nalang if magwork sa ibang system:emoji_nerd:
You Have To Follow These STEPS:
1. Open notepad and paste the following code in it.
2. Change the password in place of (qwerty)
3. Save the notepad as: Locker.bat
4. At first time start it will create folder with Locker automatically for u.
5. After creation of Locker folder again click on the Locker.bat
6. It will ask.press Y then Locker folder will be disappeared.
7. Again to get it click on locker.bat and give your password you will get the folder again.
note: current password is qwerty
CODE:
cls
@color A
echo off
if EXIST “Dhruval Patel” goto UNLOCK
if NOT EXIST Locker goto mdfolder
:confirm
echo Are you sure want to lock the locker(Y/N)
set/p “ch=”
if %ch%==y goto lock
if %ch%==Y goto lock
if %ch%==n goto end
if %ch%==N goto end
echo invalid choice
goto confirm
:lock
ren locker “Dhruval Patel”
attrib +s +h “Dhruval Patel”
echo lock successfully
goto end
:unlock
echo Enter password for unlock
set/p “pass=”
if NOT %pass%==qwerty goto fail
attrib -s -h “Dhruval Patel”
ren “Dhruval Patel” locker
echo Unlock successfully
goto end
:fail
echo Invalid Password
goto end
:mdfolder
md locker
echo Locker created successfully
goto end
:end
echo Locker generated by Dhruval Patel
echo www.HowToDoAnything.org
pause:
When You Run The Batch File There a folder “Locker” Automatically Genrated.Put your stuff in this folder.
You Have To Follow These STEPS:
1. Open notepad and paste the following code in it.
2. Change the password in place of (qwerty)
3. Save the notepad as: Locker.bat
4. At first time start it will create folder with Locker automatically for u.
5. After creation of Locker folder again click on the Locker.bat
6. It will ask.press Y then Locker folder will be disappeared.
7. Again to get it click on locker.bat and give your password you will get the folder again.
note: current password is qwerty
CODE:
cls
@color A
echo off
if EXIST “Dhruval Patel” goto UNLOCK
if NOT EXIST Locker goto mdfolder
:confirm
echo Are you sure want to lock the locker(Y/N)
set/p “ch=”
if %ch%==y goto lock
if %ch%==Y goto lock
if %ch%==n goto end
if %ch%==N goto end
echo invalid choice
goto confirm
:lock
ren locker “Dhruval Patel”
attrib +s +h “Dhruval Patel”
echo lock successfully
goto end
:unlock
echo Enter password for unlock
set/p “pass=”
if NOT %pass%==qwerty goto fail
attrib -s -h “Dhruval Patel”
ren “Dhruval Patel” locker
echo Unlock successfully
goto end
:fail
echo Invalid Password
goto end
:mdfolder
md locker
echo Locker created successfully
goto end
:end
echo Locker generated by Dhruval Patel
echo www.HowToDoAnything.org
pause:
When You Run The Batch File There a folder “Locker” Automatically Genrated.Put your stuff in this folder.