Thursday, March 28, 2013

Lock ur private folder without using any software



 
Here is a trick using which you can lock any folder on windows without installing any software.
  Copy the code provided below exactly and paste it into notepad (Start > Run > Notepad). Save as protect.bat and exit notepad. Double click on protect.bat and you will see a new folder on your desktop called “Locker”. Copy all the files you need to be hidden there. Double click on protect.bat again, and it will ask you if you want to hide the folders, type in y and press Enter. To un hide, double click protect.bat, type in your password and press enter. That’s it!

Following is the code you’ll need to this stuff,

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%== thisIsMyPassword 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

In the above code, don’t forget to edit the line that have your password the above code.:-click for download
if NOT %pass%== thisIsMyPassword goto FAIL

2. Save the file as “locker.bat”. You are done. When you’ll double-click on the locker.bat file for first time, a folder “locker” will be automatically created. You can move all your confidential data in that folder.

Now to lock the folder just double-click on the file “locker”. You will get a confirmation message inCommand Prompt. Type “y” to confirm. Now the folder “Confidential” will be locked and hidden.

 

If you want to get access to the contents of the folder then again double-click on the batch file, you have created. Immediately you will be prompted to enter your password. After that you can get access to the folder “locker”.

 for that bat file :download

Folder Lock Tricks work for , Windows XP, Vista, Windows 7
not work in Windows 8

0 comments:

Post a Comment

Copyright © 2012 Blogger Tips and Tricks All Right Reserved