All the rar files have the same 
password : http://learning4you.blogspot.com/

Saturday, August 30, 2008

lock any folder in Windowsxp without any software

lock any folder in Windowsxp without any software

Follow these instructions for the code represented below...

Using this code u can lock ur folder without any software, so there no marware or virus problems....

* Now paste it in notepad.
* Change the “type your password here” with your password (Marked as bold in the above posted matter).
* Save it as batch file(with extension .bat).Any name will do.
* Now you see a batch file. Double click it to create a folder locker.
* A new folder named Locker would be formed at the same location.
* Now brings all the files you want to hide in the locker folder.
* Now double click the batch file to lock the folder namely Locker.
* If you want to unlock your files,double click the batch file again and you would be prompted for password.Enter the password and enjoy access to the folder.
The credit for this code goes to its original developer. This is not my creation. And, the original programmer is unknown to Me.

----------------------------------------------------------------------
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%==type your password here 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








2. In the above code, change “type your password here” to your preferred password to reflect your password.







NOTE: You need to remember this, then only u can unlock ur folder(as it will be required to unlock).






Now u Save the file as locker.bat...





Once u done, to lock this, double click on locker.bat. It will ask you “Are you sure you want to lock the folder ” then type “y” and press enter. Your folder will be locked and you won’t be able to see it unless you unlock it.


if you want to unlock the folder (which u locked) double click on the locker.bat and enter the password and press Enter, the locked folder will reappear.................

note: u have to put locker.bat in a safer place so that ,people can't see the bat file .if any person see the bat file then he can able to open with notepad and see the password .........
so be careful... thanq.....

Just provide a comment whether this tip had been useful to you
Related Posts with Thumbnails