Protect A Folder With Password
Steps To Protect a Folder With Folder Protection 2015
- Click Start and open Notepad.
- Copy the below code and paste it in the notepad.cls
@ECHO OFF
title Folder Secure
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Secure 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 Secure “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 the Password to unlock folder
set/p “pass=>”
if NOT %pass%== techhacks goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Secure
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Secure
echo Secure created successfully
goto End
:End - Now save it as Folderlock.bat .
- Now run the file at the saved location now a folder named “secure” will be created at that directory.
- Now place you files which you want to protect in the secure folder.
- Now again double click the Flock file and it will ask you do you want to lock (y/n).
- Type y and the press enter, Folder secure will then gets hide.
- Now again click on the file Flock file and it will ask you the unlock password and the password istechhacks .
- Thats it you folder is now secured with password everytime you want to secure your files run the file Flock and place your files in the secure folder and again run Flock file which will hide the folder secure.
By this your content will be safe and password protected and will be not visible to anyone else and can’t be accessed by any unauthorised access. And it is very simple and easy method to secure your data as there is no requirement of any software in it only just a batch code to protect your data.
Protect A Folder With Password 2015 – I suggest you to not to save this file in desktop or in the drive where your operating system has been installed because if you did so then whenever your opertaing system currepts all your protected data will be deleted, so save this file in any other drive as it will remain as such in that drive either your windows get currepted. Protect A Folder With Password 2015
Hope you like the post. Don’t forget to share. Leave a commnet if you face any problem at any step.
No comments:
Post a Comment