Notepad is good & Simple text editor, almost everyone knows what notepad is, and despite being a simple looking and functioning application what kind of a power it actually possesses. According to the trick it really seems Microsoft had put some hack into the coding of notepad making the text hidden after saving it.
Why you using folder locking software when your text editor notepad lock your folder easily, some follow simple and very easy steps.
Steps:
Open Notepad
1. Copy Command on Notepad
@ECHO OFFtitle https://newtricksglobal.blogspot.in/if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST MyFolder goto MDMyFolder:CONFIRMecho Are you sure to lock this folder? (Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock Your Secure Folderset/p "pass=>"if NOT %pass%== globaltricks goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolderecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDMyFoldermd MyFolderecho MyFolder created successfullygoto End:End
2. Save the notepad file as lock.bat (.bat is must)
3. Now double click on lock.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command prompt appears Type Y and press enter.
6. Now MyFolder will be hidden from you view, to access that folder double click on lock.bat
7. It will ask for password enter your password and done. (Default password is globaltricks)
Note:- for Change the password
find this line on notepad command
if NOT %pass%== globaltricks goto FAIL
and then Replace globaltricks with your new password
then save it
your password successfully change .
Open Notepad
1. Copy Command on Notepad
@ECHO OFFtitle https://newtricksglobal.blogspot.in/if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST MyFolder goto MDMyFolder:CONFIRMecho Are you sure to lock this folder? (Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock Your Secure Folderset/p "pass=>"if NOT %pass%== globaltricks goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolderecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDMyFoldermd MyFolderecho MyFolder created successfullygoto End:End
2. Save the notepad file as lock.bat (.bat is must)
3. Now double click on lock.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command prompt appears Type Y and press enter.
6. Now MyFolder will be hidden from you view, to access that folder double click on lock.bat
7. It will ask for password enter your password and done. (Default password is globaltricks)
Note:- for Change the password
find this line on notepad command
if NOT %pass%== globaltricks goto FAIL
and then Replace globaltricks with your new password
then save it
your password successfully change .