Skip to main content

Create Your Own Folder Lock



Cool Hack to Create Your Own Folder Lock

Step  1: Go to the folder where you wanna create a Your Own Folder Lock
              
Step 2:Open a notepad and copy the given Code

cls 
@ECHO OFF 
title Folder Personal 
if EXIST "HTG Locker" goto UNLOCK 
if NOT EXIST Personal goto MDLOCKER 
:CONFIRM 
echo Enabling Lock::Waiting for Conformation (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 Private "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== mypassword
 goto FAIL 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Personal 
echo ERR_INCORRECT_PASSWORD::FOLDER UNLOCK FAILED
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Personal
echo Folder named Personal created successfully 
goto End 
:End

Step 3:Go to File->Save As in notepad menu

 Note:In the given code replace the mypassword with the password you wanna use to your      folder




  
and  save it name.bat and select Save Type as : all files 



Step 4: Once You saved it  you will get an icon like this, it is batch file


Step 5:double click it
Step 6:Now a new folder named as "personal" will be created
Step 7:Now Place Your Contents in that folder
Step 8:Now Once again click that name.bat batch file
Step 9:Now a command prompt window will open as ask ur permission to lock
Step 10:type "y" and that's all
Step 11:To Unlock the folder open the name.bat this time it will ask for the password
(Note:For extra security just right click name.bat  Properties->General->Attributes _click hidden ,and if you enable view hidden file in view you can view the name.bat file)



Comments

Popular posts from this blog

Reuse Your Rechargeable Batteries

Did your UPS/Bike battery got expired ?? Dont throw it you can again reuse it Warning:This method is only for Lead Acid batteries,not for Lithium ion battery My desktop ups battery has expired and it was in dead condition.so I want to recycle the battery …this is a effective way and this method is used in battery servicing stations ….it’s so simple and easy..U can do it in your home STEP 1: things required 1)  Water  (more pure the water more effective outcome better u can use  distilled water )              you can use water that available in your home,but distilled water is more effective                 ( click here for How to make distilled water in home)                                                               ...

India got its own GPS system

The Indian Space Research Organization (ISRO) on Thursday(28-4-2016) launched( Indian Regional Navigation Satellite System  )   IRNSS-1G , the last in the series of seven navigation satellites.and the setup for the Indian Navigation System has been completed with the launch of this satellite.  Only few countries in the world like US,European Union,Russia,china has it own GPS system's, Now India Enters into the club. With this satellite  the country will not have to depend on a foreign power for a military navigation anymore. Its a proud moment for all Indians. Details IRNSS system consist of only seven satellites which make it regional navigation where other's has more than 20 satellites and global in nature. The system will be fully operational in a month time which offers air and marine navigation,vehicle tracking disaster management,mapping,geodetic data capture, it can be integrated to mobile. It provides St...

How to create distilled water in Home

Distilled water  is  water  that has had many of its  impurities  removed through  distillation . Distillation involves  boiling  the water and then condensing the  steam  into a clean container.It has variety of applications.Mostly it is used in batteries by the normal people.It is very easy to make So here are the steps to make Distilled water at home.          1.Take a closed jar which has the opening at the top                                ( cooker ,kettle are recommended for this process.)          2.Now add a tube to the opening or just make an arrangement such that the steam should         directed toward a plate or surface.Now the steam will be converted into water droplets when it hits the surface.         3.Collect the water dr...