1 အခုဟာေလးကေတာ့ေဆာ့၀ဲမပါဘဲ Folder ေလာ့ခ်တဲ့ နည္းေလးပါ.. 18th July 2010, 5:14 am
ဖိုးသား
MITR Reader
Folder မ်ားကုိေလာ့ခ်ခ်င္တဲ့အခါ ေဆာ့၀ဲ ေလးေတြကုိအသုံးျပဳၾကရပါတယ္... အခုဟာေလးကေတာ့ေဆာ့၀ဲမပါဘဲ Folder ေလာ့ခ်တဲ့ နည္းေလးပါ...
notepad မွာေအာက္ကကုဒ္ေလးကိုကူေပးပါ။Save ရင္ နာမည္(PHOOTHAR.BAT) နဲ႔ Save ေပးပါ။
[You must be registered and logged in to see this link.]
ကႊ်န္ေတာ္က desktop မွာ Save ထားလုိ႔ဒီပံုေလးေပၚလာပါတယ္။
[You must be registered and logged in to see this link.]
အဲဒါကို double click ရင္ private folder ေလးကိုေတြ႕ ရပါတယ္
[You must be registered and logged in to see this link.]
ကိုယ္ lock ခ်ခ်င္ေသာ ဖိုဒါမ်ား(ဖုိင္မ်ား)ကိုအဲ့ private folder ေလးထဲထည့္ေပးပါ။ကၽႊန္ေတာ္က newfolder ေလးကို ေခၚၿပီးထည့္ပါတယ္။
[You must be registered and logged in to see this link.]
PHOOTHAR ဆိုတဲ့ locker ေလးကို double click ေပးၿပီး yes(or)no ေတာင္းလာရင္ yes ကိုေပးရင္ အဲဒီ
ကိုယ္ထည္ထားေသာ newfolder ေလးက private folder ေလးနဲ႔အတူေပ်ာက္သြားလိမ့္မယ္။
[You must be registered and logged in to see this link.]
ကဲအဲဒါကေဖ်ာက္တာပါ။ကိုယ္ကၿပန္ၿမင္ခ်င္ရင္ေတာ့ PHOOTHAR ဆိုတဲ့ locker ေလးကို double click ေပးၿပီး no ကိုၿပန္ေပးလုိက္ပါ။
အဆင္ေၿပၾကပါေစ(ဖိုးသား)
Code:
cls
@ECHO OFF
title Folder PHOOTAHRLOCKER
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
[You must be registered and logged in to see this image.]ဖိုးသား
[You must be registered and logged in to see this link.]
notepad မွာေအာက္ကကုဒ္ေလးကိုကူေပးပါ။Save ရင္ နာမည္(PHOOTHAR.BAT) နဲ႔ Save ေပးပါ။
[You must be registered and logged in to see this link.]
ကႊ်န္ေတာ္က desktop မွာ Save ထားလုိ႔ဒီပံုေလးေပၚလာပါတယ္။
[You must be registered and logged in to see this link.]
အဲဒါကို double click ရင္ private folder ေလးကိုေတြ႕ ရပါတယ္
[You must be registered and logged in to see this link.]
ကိုယ္ lock ခ်ခ်င္ေသာ ဖိုဒါမ်ား(ဖုိင္မ်ား)ကိုအဲ့ private folder ေလးထဲထည့္ေပးပါ။ကၽႊန္ေတာ္က newfolder ေလးကို ေခၚၿပီးထည့္ပါတယ္။
[You must be registered and logged in to see this link.]
PHOOTHAR ဆိုတဲ့ locker ေလးကို double click ေပးၿပီး yes(or)no ေတာင္းလာရင္ yes ကိုေပးရင္ အဲဒီ
ကိုယ္ထည္ထားေသာ newfolder ေလးက private folder ေလးနဲ႔အတူေပ်ာက္သြားလိမ့္မယ္။
[You must be registered and logged in to see this link.]
ကဲအဲဒါကေဖ်ာက္တာပါ။ကိုယ္ကၿပန္ၿမင္ခ်င္ရင္ေတာ့ PHOOTHAR ဆိုတဲ့ locker ေလးကို double click ေပးၿပီး no ကိုၿပန္ေပးလုိက္ပါ။
အဆင္ေၿပၾကပါေစ(ဖိုးသား)
Code:
cls
@ECHO OFF
title Folder PHOOTAHRLOCKER
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
[You must be registered and logged in to see this image.]ဖိုးသား
[You must be registered and logged in to see this link.]