Hi Friends!
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%==ajay 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
Ever wanted to store important data and dont want any body to see it...If yes, continue reading....
If you want to store important data in your computer so that no body can find it.. perform the following steps.
Step 1 : Open Notepad.
Step 2 Copy the below text and paste in the opened text file.
@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%==ajay 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
Step 3 : Search for ajay in this file and replace the password "ajay" with the password you want to give.
Step 4 : Save the file as LOCKER.bat (you can give any name but .bat is essential)
Now double click on the saved .bat file (Locker.bat ). First time it will create a new folder "Locker". Put your data into it. Now to lock/hide the folder again double click the Locker.bat file, it will ask for confirmation...press y and enter. The newly created folder Locker in which you put your data will be hidden. (If it renames to control panel just refresh).
This folder(Locker ) and your data will still be stored at the location where you saved but it will not be visible ...even the Search of Windows will not be able to search it.
In order to see the folder again, double click the Locker.bat file... this time it will ask for password. Type the password which you changed and press enter.
Repeat the process whenever you want to hide/show the folder.
In case of any problem please write in comments...
Thats all.....
Enjoy....
No comments:
Post a Comment