Hiển thị các bài đăng có nhãn Windows Tips. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Windows Tips. Hiển thị tất cả bài đăng

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!

Bảo vệ USB khỏi virut - Protect Your USB Drive From Virus


Usually, most of the virus and worms copies to your USB drive easily. No matter what you do, you cannot stop this action form virus when you insert your USB drive to infected computer. But to prevent from un-authorized copying of viruses you can make your USB storage device completely full so that no more files can be added to it.
But filling up the storage device will not be practical as you have to add some heavy contents there and you won’t like to put large contents which will often hectic job. But after following this tutorial you’ll feel easier to do that.
Initially assume that you have some files in your USB drive and you want to fill up the remaining space.

First download USBDummyProtect (an executable 4KB ZIP file). Once you’ve downloaded the file extract it and copy the exe file in to your USB root drive.
You can see in the first image that we’ve about 1GB disk space left, this tool will help you to fill the remaining space easily by creating a dummy file.
Once the exe file has been copied, run the program by double clicking it. As soon as the program runs, the program starts to create a dummy file that has enough size to fill of all the remaining space of your USB storage device.
Once the dummy file creation is successful you’ll be notified. Press enter to close the program.
You can see a dummy.file in your USB drive.
Also check out your USB device disk space.
It must have filled now with zero space available. This will prevent other infectitous programs to copy itself to your USB drive.
Incase if you want to copy some files from your own non-infected PC then delete the dummy.file and again run the program.
Hope this tutorial was helpful.