• Folder ေလးတစ္ခုကုိ မိမိႏွစ္သက္အမည္နဲ႔ ေဆာက္လုိက္ပါ။
• အဲဒီ Folder ထဲမွာ TXT ဖုိင္ေလးျပဳလုပ္ၿပီး ကုဒ္ေလးေတြထည့္လုိက္ပါ။
• ေကာ္ပီကူၿပီးထည့္လုိက္တဲ့ ကုဒ္မ်ားထဲမွ ၂၃ ေၾကာင္းေျမာက္မွာရွိတဲ့ password here ဆုိတဲ့ေနရာေလးမွာ မိမိထည့္ခ်င္ေသာ စကား၀ွက္ကုိ ထည့္လုိက္ပါ..
• စကား၀ွက္ထည့္ၿပီးေနာက္ အဲဒီဖုိင္ေလးကုိ Save as ကေန locker.bat အမည္နဲ႔ save လုိက္ပါ..
• ၿပီးပါက Folder ေလးထဲကုိ ျပန္ၾကည့္လိုက္ပါ LOCKER ဆုိတဲ့ ဖုိင္ေလးကုိ ေတြ႔ရပါလိမ့္မယ္...
• LOCKER ဆုိတဲ့ဖုိင္ေလးကုိ ၂ခ်က္ကလစ္ၿပီးဖြင့္လုိက္ပါ Private ဆုိတဲ့ Folder ေလးကုိ ေတြ႔ရပါလိမ့္မယ္...
•ကဲ ကုိယ္ထည့္ခ်င္တဲ့ ဖုိင္မ်ားကုိ Private ဆုိတဲ့ Folder ေလးထဲမွာ ထည့္လုိက္ပါ။ ၿပီးရင္ LOCKER ဆုိတဲ့ ဖုိင္ေလးကုိ ကလစ္လုိက္ပါ Folder ကုိ ေလာ့ခ်မွာလား၊ ေလာ့မခ်ဘူးလားဆုိတာေတာင္းပါလိမ့္မယ္..
• ေလာ့ခ်မယ္ဆုိရင္ Y လုိ႔ ရုိက္လုိက္ၿပီး Enter ႏွိပ္လုိက္ပါ..
• သင္က ေလာ့ခ်ထားတဲ့ Folder ကုိ ျပန္ၿပီး ျမင္ခ်င္တယ္ဆုိပါက LOCKER ဆုိတဲ့ ဖုိင္ေလးကုိ ျပန္ကလစ္ၿပီး အေပၚမွာ ေပးထားခဲ့တဲ့ စကား၀ွက္ကိုထည့္လုိက္ပါ.. Folder ေလးျပန္ေပၚလာပါလိမ့္မယ္..
(Notice...:P password ကုိသိခ်င္တယ္ ဆုိရင္ေတာ႔ .bat file ေလးကုိ right click->edit မွၾကည္႔ႏုိင္ပါသည္)ေအာက္တြင္ txt code ေဖာ္ျပထားပါသည္.....
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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 folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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 folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
No comments:
Post a Comment