သကၠရ ဓမၼရကၡိတေက်ာင္းတုိက္ ဘန္႔ေဘြးရြာမ
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Keywords

policy  group  

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Affiliates

free forum

Forumotion on Facebook Forumotion on Twitter Forumotion on YouTube Forumotion on Google+


(၁၃) SOFTWARE မလုိပဲ FOLDER ေတြကို LOCK ေသာ့ခတ္နည္း

Go down

(၁၃) SOFTWARE မလုိပဲ FOLDER ေတြကို LOCK ေသာ့ခတ္နည္း Empty (၁၃) SOFTWARE မလုိပဲ FOLDER ေတြကို LOCK ေသာ့ခတ္နည္း

Post  Admin Thu Jan 15, 2015 6:08 am


1 ။ notepad ဖြင့္ထားပါ ။
2 ။  ေအာက္မွာေပးထားတဲ့ ကုဒ္ေတြကို copy ယူျပီး notepad ထဲကုိ paste လုပ္ပါ ။
3 ။ password here ဆိုတာကို ဖ်က္ျပီး ကိုယ္ေပးခ်င္တဲ့ password ရိုက္ထည့္ပါ ။
save as ျဖင့္  D သို႔ E ထဲမွာ သိမ္းျပီး ...file type မွာ ႀကိဳက္တဲ့ နာမည္ေပးနိုင္ပါတယ္ ...
ဒါေပမယ့္ .bat ဆုိတာေလး ထည့္ေရးေပးပါ ။ ( ဥပမာ sakkara.bat လိုေပါ့ )
4။ ကိုယ္သိမ္းထားတဲ့ bat (စက္သြားပုံ) ဖိုင္ေလးကို ဖြင့္လိုက္ရင္ privite ဆိုတဲ့ folder ေလးထြက္လာပါမယ္။
5။ အဲ့ဒီ folder ထဲမွာ သိမ္းခ်င္တဲ့ ဖုိင္ေတြကို ဆဲြထည့္ေပးပါ...
6။ ျပီးရင္ bat ဖုိင္ကုိ ႏွိပ္လုိက္ပါ . box ေလးတက္လာပါမယ္ . .. Y လုိ႔ ရိုက္လိုက္ပါ လုံျခံဳစြာ သိမ္းျပီးပါျပီ ။
7 ။ ကိုယ္ျပန္ဖြင့္ခ်င္လို႔ bat ဖုိင္ကိုႏွိပ္လုိက္ရင္ password ေတာင္းတဲ့အခါ ရိုက္ထည့္လိုက္ေပါ့ ။  
ုကုဒ္ေလးေတြပါ ...

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

Admin
Admin

Posts : 111
Join date : 2011-09-01
Age : 30
Location : BANTBWE

https://caraka.forumotion.com

Back to top Go down

Back to top


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