Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

ဖိုးသား


MITR Reader



MITR Reader
Folder မ်ားကုိေလာ့ခ်ခ်င္တဲ့အခါ ေဆာ့၀ဲ ေလးေတြကုိအသုံးျပဳၾကရပါတယ္... အခုဟာေလးကေတာ့ေဆာ့၀ဲမပါဘဲ Folder ေလာ့ခ်တဲ့ နည္းေလးပါ...


notepad မွာေအာက္ကကုဒ္ေလးကိုကူေပးပါ။Save ရင္ နာမည္(PHOOTHAR.BAT) နဲ႔ Save ေပးပါ။
[You must be registered and logged in to see this image.]

ကႊ်န္ေတာ္က desktop မွာ Save ထားလုိ႔ဒီပံုေလးေပၚလာပါတယ္။
[You must be registered and logged in to see this image.]

အဲဒါကို double click ရင္ private folder ေလးကိုေတြ႕ ရပါတယ္

[You must be registered and logged in to see this image.]

ကိုယ္ lock ခ်ခ်င္ေသာ ဖိုဒါမ်ား(ဖုိင္မ်ား)ကိုအဲ့ private folder ေလးထဲထည့္ေပးပါ။ကၽႊန္ေတာ္က newfolder ေလးကို ေခၚၿပီးထည့္ပါတယ္။

[You must be registered and logged in to see this image.]

PHOOTHAR ဆိုတဲ့ locker ေလးကို double click ေပးၿပီး yes(or)no ေတာင္းလာရင္ yes ကိုေပးရင္ အဲဒီ
ကိုယ္ထည္ထားေသာ newfolder ေလးက private folder ေလးနဲ႔အတူေပ်ာက္သြားလိမ့္မယ္။

[You must be registered and logged in to see this image.]

ကဲအဲဒါကေဖ်ာက္တာပါ။ကိုယ္ကၿပန္ၿမင္ခ်င္ရင္ေတာ့ 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 image.][You must be registered and logged in to see this image.]ဖိုးသား
[You must be registered and logged in to see this link.]

myohein11


MITR New User



အကို့ program ေလးက ဘယ္ပဲရုိက္ထည့္ထည့္ ျပန္ျပီး ေပၚလာတယ္ေနာ္
no ရုိက္မွမဟုတ္ပါဘူး
ဘာရုိက္ရုိက္ျပန္ေပၚေနတယ္
အကိုေရ
လုပ္ ပါအံုး ....................... [You must be registered and logged in to see this image.] [You must be registered and logged in to see this image.]

solakoko


Moderator



Moderator
ဒီေအာက္ကေနရာေတြသြားၾကည့္ပါ
Code:
http://www.myanmaritresource.info/batch-file-programming-f88/make-win-folder-hidden-and-password-protected-t396.htm
Code:
http://www.myanmaritresource.info/batch-file-programming-f88/folder-lock-t205.htm
Code:
http://www.myanmaritresource.info/batch-file-programming-f88/folder-lock-with-password-without-any-software-t449.htm



[You must be registered and logged in to see this image.]

Htet Naing


Moderator



Moderator
ဟုတ္ပါတယ္...ပို ့စ္ထပ္ေနပါတယ္။ ကို solakoko ေၿပာထားတဲ့ေနရာေတြမွာ ရွိၿပီးသားပါ။



Dear members, please type with Myanmar 3 font. And please read this announcement.
Code:
http://www.myanmaritresource.info/t4295-unicode

ဖိုးသား


MITR Reader



MITR Reader
အစ္ကိုမ်ိဳးဟိန္းေရမရလို႔လား ကၽႊန္ေတာ္လုပ္ၾကည့္တာေတာ့ ရပါတယ္ အဆင္မေၿပရင္ကို solakoko ေပးတဲ့ လင့္မွာသာစမ္းၾကည့္ပါ။ကၽႊန္ေတာ့္ ဟာကိုစမ္းမရရင္ေပါ့ ကၽႊန္ေတာ္လုပ္ၾကည့္တာေတာ့ရပါတယ္ အဆင္ေၿပမယ္လို႔ေမွ်ာ္လင့္ပါတယ္အစ္ကို

myohein11


MITR New User



အကိုေရ
unlock အပိုင္းမွာ safe မျဖစ္ဘူးအကို
ကိုထား တဲ password မဟုတ္ပဲ တျခား ဘာပဲ ရုိက္ထည့္ထည့္
folder ေလးက ျပန္ျပန္ေပၚလာတယ္အကို
တကယ္ဆိုရင္folder ျပန္မေပၚပဲ DOS ထဲ ကထြက္သြားရမွာ
ကၽြန္ေတာ္နည္းနည္းျပန္ျပင္ျပီးလုပ္ၾကည့္ေတာ:FailUnlock
echo Invalid password!
echo Try again? (Y/N)
set/p "choice=>"
if %choice%==Y goto UNLockFolder
if %choice%==y goto UNLockFolder
if NOT %choice%==Y goto END
if NOT %choice%==y goto END
့ ဒီေနရာမွာေျပာင္းလိုက္တာ ရသြားတယ္အကို
အကို စမ္းၾကည့္ေပး ပါ
ကၽြန္ေတာ္ က အဲ့ ဒါေလးကို သံူးမယ္ေနရရွိလုိ့ ပါေက်းဇူးတင္ ပါတယ္
ခင္ဗ်ာ
Idea

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum