Friday, June 14, 2013
0 commentaires

How To Lock A Folder With A Password

6:30 PM

There are many softwares online that can lock forlders with a password on your computer but anyone can open the folder by deleting this software that's why today i will show you how to lock a folder with a password without any software.

This is very easy all you need to do is :
1-Create a new notepad file  
2-put this file in a folder that you do not want anyone to see 
3-then copy past this code in your notepad file 

cls
@ECHO OFF
title Folder security
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST security goto MDLOCKER
:CONFIRM
echo Are you sure you 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 security "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%== 
Pronline Space
 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" security
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md security
echo security created successfully
goto End
:End

in red font you see the word Pronline Space delete it and write your password there , now click on save as and name your file as locker.bat (don't forget to change the type of file to from text file to all files)



now double click on locker.bat , a new folder is created , what we will do now is putting all files that you don't want anyone to see in this new folder.
after you put your file in the new folder click on locker.bat , a new window appear ask you if you really want to continue click on Y , congratulation tou succeed in hidden your files .
now if you want to see your hidden files click on locker.bat and write the password that you put it in the place of Pronline Space , now you can see your files .
 
Toggle Footer
Top