Thứ Sáu, 4 tháng 3, 2011

Khóa thư mục bằng mật khẩu không cần soft - Lock your folder without any software



Its different from invisble as well hidden folder….here u need to have a password with which u can open your file/folder






cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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%==123 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


How to use?


Open Notepad and copy the below code and save as locker.bat. At first time start it will create folder with Locker automatically for u. Don't forget to change your password in the code (123) its shown the place where to type your password.
after creation of Locker folder again click on the locker.bat.it will ask.press Y then Locker folder will be disappeared.again to get it click on locker.bat. and give ur password u will get the folder again!



Mở Notepad  sao chép mã dưới đây  lưu lại với tên locker.bat. Khi bắt đầu  sẽ tạo ra thư mục với tên Locker tự động cho bạn. Đừng quên thay đổi mật khẩu của bạn trong đoạn mã (123của nó thể hiện được nơi mà để gõ mật khẩu của bạn.
Sau khi tạo ra các thư mục Locker một lần nữa nhấn vào locker.bat.Nó sẽ hỏi bạn có muốn khóa thư mục không? Bạn chọn Y để khóa thư mục. Bây giờ thư mục sẽ bị ẩn, chỉ còn file bat. Để mở thư mục, bạn nhấp đúp vào file bat rồi nhập mật khẩu thư mục sẽ hiện ra!

Không có nhận xét nào:

Đăng nhận xét