Comments

Thursday, September 19, 2013

Protect Files and Folders without any Software

Posted by at 2:42 AM Read our previous post
File ေတြ Folder ေတြကို ဘာ Thirdparty Software မွ မသုံးဘဲ
Batch File နည္းပညာ နဲ႔ အလြယ္တကူ Password Protect လုပ္လို႔ရပါတယ္။ပထမ ဦးဆုံး ေအာက္က Code ေတြကို ကူးျပီး notepad program မွာ ကူးထည့္ရပါမယ္။
 cls
color 3a
cls
@ECHO OFF
title Secret Locker ----------------------- ICT Man :)
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLocker
:CONFIRM
echo Do you want to hide this Locker, to keep it safe from univited eyes ? (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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Locker Secured !
goto End
:UNLOCK
echo Enter your secret password to unhide the Locker:
set/p "pass=>"
if NOT %pass%== aung goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Locker visibility unlocked !
goto End
:FAIL
echo Invalid password
goto end
:MDLocker
md Locker
echo Locker created successfully :)
goto End
:End


Start --> Run --> type  notepad--> paste codes from above ---> save as --->
File name  :  Locker.bat  / Save as type  :  All File

codes ေတြထဲက  အနီေရာင္ highlight ေနရာမွာ ျကိုက္ရာ password ထည့္ေပးႏုိင္ပါတယ္။
အထက္ပါ အဆင့္ေတြ ျပီးရင္ သင့္မွာ Locker.bat ဆိုတဲ့ batch file တစ္ခု ရပါျပီ။
အဆိုပါ batch file ကို သင္ထားလိုတဲ့ ေနရာမွာ ထားျပီး double click ႏွိပ္ပါ။ Locker ဆိုတဲ့ အမည္နဲ႔ Folder တစ္ခု auto တည္ေဆာက္ေပးပါလိမ့္မယ္။ အဲ့သည့္ Folder ထဲမွာ သိမ္းခ်င္တဲ့ files နဲ႔ folders ေတြကို ထည့္ေပးပါ။ Folder ထဲက ျပန္ထြက္ျပီး Locker.bat ဖိုင္ကို double click ႏွိပ္ပါ။

Hide မလား လို႕ ေမးရင္ y (or) Y လို႔ ရုိက္လိုက္ပါ။ Locker Folder ေလး ေပ်ာက္သြားပါမယ္။
ျပန္ျမင္ခ်င္ရင္ Locker.bat ကို ဖြင့္ပါ ၊  Password ရုိက္ေပးပါ။ Locker Folder ျပန္ျမင္ရပါလိမ့္မယ္။

You can also download this Locker.bat file in Here  -->  Download



No comments:

Post a Comment

© ICT Man is powered by Blogger - Template designed by Stramaxon - Best SEO Template