Do you want to create a password protected text file to store your private data? The happy news is you can do it without downloading any special software. You only need notepad to make a simple program which can password protected text files!
1. Open notepad and paste the code given below.
TITLE CHILL PILL
ECHO OFF
COLOR 03
CLS
ECHO.
ECHO *******************************
ECHO * CHILL PILL - FILESECURE *
ECHO *******************************
ECHO.
ECHO Enter your password:
SET/P "USRN=>"
NOTEPAD XB21.txt:%USRN%
2. After pasting save as a FileSecure.bat. Remember to put .bat extension.
3. Open the batch file. You will be prompted for a password. Enter any password you like. A notepad window will open. Now type in your data and save the file.
After you save the file you will see a file named XB21.txt in the same folder as the batch file. This file will contain all the data you saved earlier. But when you open the file it will seem to appear blank! To access your data open the batch file and enter the password you entered earlier. A notepad window will open with the data you entered.
You can also create multiple users by entering different passwords for each one. All the data will be stored in the XB21.txt but will still appear blank. You can always access your data by opening the batch file and entering your password.
IMPORTANT: Do not delete the XB21.txt and remember to keep the batch file and XB21.txt in the same folder.
0 comments:
Post a Comment