How to make a " private folder " using notepad [with pictures]
How to make private folder using notepad in which you can store your private things etc. And also
you can set a lock (password) to your private folder just follow some simple steps and you can do
it.
STEP 1 :- Go to start and type notepad
STEP 2 :- Open notepad and type the following code or just copy from here
Program :-
Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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 "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 folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
STEP 3 :- Your default password is "password "if you want to change password of to the
program on the following line
if NOT %pass%=="password " goto FAIL
For eg :-
if NOT %pass%=="12345 " goto FAIL
STEP 4 :- Save the following program as (.bat) file for eg :- (test.bat)
STEP 5 :- Now double click on the saved file
Now by double clicking you can see a folder named as "Private"
on this folder you can save your private files ,data etc.
Now click again on the [.bat] file and type "y" hit enter the private folder will disappear you
can't see the private folder it is been hide by our program
Now your private file is not there so to bring it back again click on the [.bat] file
you will see a black window asking for password your default password is"password"
or the password you have set to unlock it hit enter the private folder will back again, by
these you can create a private folder for your personal data and it is all secured because
you have your own password.
So by this you can understand that programming can help you to be secure and to create many new
things so enjoy and be secured .
you can set a lock (password) to your private folder just follow some simple steps and you can do
it.
STEP 1 :- Go to start and type notepad
STEP 2 :- Open notepad and type the following code or just copy from here
Program :-
Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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 "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 folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
STEP 3 :- Your default password is "password "if you want to change password of to the
program on the following line
if NOT %pass%=="password " goto FAIL
For eg :-
if NOT %pass%=="12345 " goto FAIL
STEP 4 :- Save the following program as (.bat) file for eg :- (test.bat)
STEP 5 :- Now double click on the saved file
Now by double clicking you can see a folder named as "Private"
on this folder you can save your private files ,data etc.
Now click again on the [.bat] file and type "y" hit enter the private folder will disappear you
can't see the private folder it is been hide by our program
you will see a black window asking for password your default password is"password"
or the password you have set to unlock it hit enter the private folder will back again, by
these you can create a private folder for your personal data and it is all secured because
you have your own password.
So by this you can understand that programming can help you to be secure and to create many new
things so enjoy and be secured .
Comments
Post a Comment