Posted: 13 Nov 2013 11:00 PM PST
There are many methods available online to protect a folder most of them use third party software. But the method I am going to share is as easy as possible. Now you can protect your folder by using a NOTEPAD file. In this post I will tell you detailed about How to Create Password Protected Folder using Notpad
It’s important to note that this will not actually conceal your data from somebody that knows what they are doing.
Create Password Protected Folder Using Notepad
Method:
- Select a folder which you want to protect.
- Open Notepad file and paste the below code in it.
cls
@ECHO OFF
title Folder Private
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private 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 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%== itnewscorner.net goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
- NOTE : default password is “itnewscorner.net”. To change the password replace itnewscorner.net with your disired password.
- Save the file and name it “locker.bat”
- Now double click on locker.bat
- The first time you run it, it will create a new folder name as Private. You can store your private data in this folder.
- When you added all your secret stuff in the folder, run locker.bat again
- This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.
- You will see that your private folder will quickly disapperar.
- If you run again locker.bat again, you will prompted for a password.
- If you enter the correct password your private folder will reappear but if you enter wrong password the bat file will terminate.
Create Password Protected Folder Using Notepad
WARNING: This is not a 100% secure method. Anyone who knows how to show system files can easily figure out your private folder. But very few people knows this.
Thanks for reading Create Password Protected Folder Using Notepad, Please share with friends and if you need any help about this, you can ask in comments
The post Create Password Protected Folder Using Notepad appeared first on IT News Corner.
No comments:
Post a Comment