Friday 13 January 2012

Folder Locker without Software





Securing confidential and personal data is always considered as a sophisticated task.You can use freeware third party softwares like Axcrypt, Disguise Folders etc to encrypt your data.If somehow you can’t use these softwares (installation restrictions) then you can secure your data using notepad.This trick works in windows xp,vista and windows 7.









Lock Folder without any Software
 
    Open Notepad [Start-->Run-->Notepad]
    In your Notepad just Copy/Paste the below  CODE
                                                 






cls


:End


@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%==locker007 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





    In the above batch code the password has been set as "locker007".You can change it by editing the following line

if NOT %pass%==locker007 goto FAIL

Now save this notepad file as yourfoldername.bat ,here .bat is extension of your file. For now I am creating locker.bat file.




Double Click on this .bat file and you will see a Locker Folder at the same location where your .bat file is saved.

Now a .bat (system) file will be created.



Now save this notepad file as yourfoldername.bat ,here .bat is extension of your file. For now I am creating techtricks.bat file.


copy ur files into d folder created as locker and save it


             click to Download Code




No comments:

Post a Comment