Lock Your Folder Without Using Any Software
Here I am going to tell you, How to Protect your files in a hidden folder with Password. In this Trick you do not need any software to install.
Just Follow The Steps ... ;-)
STEP : 01
Open Your Notepad and Copy the code given below and Paste on it.
(Select the Code and Press Ctrl+C to Copy and Open the Notepad and Press Ctrl+V to Paste )
cls
@ECHO OFF
title www.obriya.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 Secure Folder
set/p "pass=>"
if NOT %pass%== fazlulfana 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
STEP : 02
Save the notepad file as filelocker.bat (.bat extension is must and you can replace any name in to filelocker)
STEP : 03
Now double click on filelocker.bat and a new folder will be created with name MyFolder
STEP :04
Copy all your files, images, videos, etc... that you want to protect in that new folder
STEP : 05
Now double click on filelocker.bat and command prompt will appear.
Type Y and Press Enter.
STEP :06
Now MyFolder will be hidden from you view, to access that folde double click on filelocker.bat
STEP :07
It will ask for password enter your password and done. (Here I have already set password as fazlulfana. when you paste code in to notepad you can change any password that you need. Just Replace Your Password with fazlulfana following{ if NOT %pass%== fazlulfana goto FAIL } )
Just Follow The Steps ... ;-)
STEP : 01
Open Your Notepad and Copy the code given below and Paste on it.
(Select the Code and Press Ctrl+C to Copy and Open the Notepad and Press Ctrl+V to Paste )
cls
@ECHO OFF
title www.obriya.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 Secure Folder
set/p "pass=>"
if NOT %pass%== fazlulfana 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
STEP : 02
Save the notepad file as filelocker.bat (.bat extension is must and you can replace any name in to filelocker)
STEP : 03
Now double click on filelocker.bat and a new folder will be created with name MyFolder
STEP :04
Copy all your files, images, videos, etc... that you want to protect in that new folder
STEP : 05
Now double click on filelocker.bat and command prompt will appear.
Type Y and Press Enter.
STEP :06
Now MyFolder will be hidden from you view, to access that folde double click on filelocker.bat
STEP :07
It will ask for password enter your password and done. (Here I have already set password as fazlulfana. when you paste code in to notepad you can change any password that you need. Just Replace Your Password with fazlulfana following{ if NOT %pass%== fazlulfana goto FAIL } )
Post Comment
No comments
Post a Comment