HI FRIENDS, IN THAT POST I AM SHARING A TRICK IN WHICH YOU
CAN LOCK FOLDER WITHOUT ANY SOFTWARE. In that folder you can put your personal
files and documents. That folder become a password protected folder without any
software. This trick will work on all windows system like(XP/7/8). To lock a
folder follow the steps:-
STEP1:- Open notepad(start> accessories> notepad),
paste the following highlighted code in it.
cls
@ECHO OFF
title www.cyber-sol.blogspot.in
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo 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 MyFolder "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 your folder
set/p "pass=>"
if NOT %pass%== cybersolution goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
@ECHO OFF
title www.cyber-sol.blogspot.in
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo 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 MyFolder "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 your folder
set/p "pass=>"
if NOT %pass%== cybersolution goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
STEP2:- Now save it as abc.bat.
STEP4:- Now open abc.bat then press y and press enter.
STEP5:- Now myfolder will be hidden from desktop, to access
that double click on it.
STEP6:- it will ask for password, enter your default
password(cybersolution). You can change it in above code.
STEP7:- Now my folder will be hidden from desktop.
NOTE:- NOW YOU CAN PUT YOUR PERSONAL FILES IN
MYFOLDER. FOR THE SECURITY PURPOSES KEEP ABC.BAT IN YOUR PEN DRIVE OR AT SECURE
PLACE.
IF YOU HAVE STUCK AT ANY STEP, PLEASE LEAVE A
COMMENT BELOW THE POST.
0 comments:
Post a Comment