Folder Lock Without Software
I wanna post folder lock without software. This is a tool like "lockbox" but no need any software.
++++++++++++++
cls
@ECHO OFF
title Folder NKYang_Lock
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST NKYang_Lock goto MDLOCKER
:CONFIRM
echo Welcome to NKYang lock
echo http://thenkyang.blogspot.com/
echo nkyang92@live.com
echo ====================================
echo .
echo .
echo Are you sure want to lock this folder? From NKYang(Yes/No)
set/p "cho=>"
if %cho%==Ya goto LOCK
if %cho%==ya goto LOCK
if %cho%==no goto END
if %cho%==No goto END
echo Sorry Incorrect Password.
goto CONFIRM
:LOCK
ren NKYang_Lock "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s +r +a "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Welcome to NKYang lock
echo http://thenkyang.blogspot.com/
echo nkyang92@live.com
echo ====================================
echo .
echo .
echo Input the password to open folder
set/p "pass=>"
if NOT %pass%==(Type password here) goto FAIL
attrib -h -s -r -a "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" NKYang_Lock
echo Folder Unlocked successfully
goto End
:FAIL
echo Sorry Incorrect Password
goto end
:MDLOCKER
md NKYang_Lock
echo NKYang_Lock created successfully
goto End
:End
if you want to change password hit
Type password in the cage (Type password)
++++++++++++
Copy Script without plus symbol to notepad and save as into irfan.vbs
No comments:
Post a Comment