I was randomly looking at newer and more recent notepad tricks and came across Lock/Hide folders trick that doesn't require one bit of software nor pay anything. All from the notepad, one of the most powerful tools in a PC computer, you can do so much than just a blank white page.
Here is the script: Copy and Paste it to your notepad
---------------------------------------------------
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
----------------------------------------
Replace "YOUR PASSWORD HERE" with the password of your desire. Go for an unexpected name.
If you can't find "YOUR PASSWORD HERE" in the script, it is the 13th line from the bottom.
Then save it as a
.bat file. For EX: "Locker.bat"
*It might not work with all operation systems! Windows 7 might have failure on this*
When you're done go to where you save d it and it should be there.
Double click the .bat file and another folder would appear named just as the .bat file's name
Put whatever files you want to hide or lock in that folder.
When you're done double click on the .bat file again and a command prompt window should pop up asking you "Are you sure you want to Lock the Folder (Y/N)"
type in "Y" for yes and "N" for no.
If yes then the folder should disappear in a second.
When you want to open it up again, double click on the .bat file and a command prompt window should show up once again and ask "Type in password to Unlock Folder".
If it's the right password it should come up immediately.
By the way hide the .bat file somewhere so it won't be messed up or deleted. I recommend putting it in some folders so that it isn't easily messed up or editted. The .bat file can be easily editted with a right click and your password will be easily replace by whoever resetted it.Everytime you hide the ".bat" file and you want to open up the hidden file you must drag it back to the desktop or the original place where it was saved to from the beginning. Putting it in another folder and double clicking the .bat will not open up with the command prompt window, instead a new folder appears.This file cannot be searched for in the search box. The content inside the hidden file itself can be searched up but can't be opened. An error box appears when clicking on the contents.*If deleted and important files are gone I'm not responsible. Do so at your own risk.*
There ya go! Hope this helped!
=x9=Rippinheads