Thursday 12 January 2012

Lock secret files in ur computer without using softwares



In my last post,  we had seen how to lock the secret folders in your  mobile without using any sofwares. Now we will see how to lock the secret files in your computer system without using the softwares.


Follow these simple steps and protect your secret files from others by locking it.



1.      Open notepad.
2.      Copy the codes given below and paste it in the notepad.

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%==M.G-PASSWORD 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

3.      Now locate the line if NOT %pass%==M.G-PASSWORD goto FAIL
4.      Replace M.G-PASSWORD with your own password. Remember the password which you are placing here because this is used to lock and unlock your secret files.
5.      Save the file with any name with the extension .bat (eg., save the file as manig.bat)
6.      That’s it your folder locker software is ready now. 
7.      Double click your manig.bat file. The console window will be opened and You will be asked to enter the password. Enter the password which you placed in the code. Now the Locker folder will be created in the same directory where manig.bat file exists.
8.      Copy and paste the secret files into this Locker folder.
9.      Now, in the console window type y and press enter to lock the Locker folder.
10.  To unlock the Locker folder repeat the step 7.