Sharing your PC with another person? Feel your files are being looked upon by them? Or are you being spied by your own sibling. It irritates you right. You can think about hiding the files but you are not interested in downloading software for this purpose alone right?
Everything processes needs software now. You might have seen the AppLock software in your Android phones. We can lock any folder with the help of this software alone. But in case of computers there are some default operations provided by our own computer which we don’t know.
The most common and widely used method to lock a folder using Note Pad;
• Using Notepad:
Do you know locking a folder can be done using our own Note Pad file? The biggest advantage of this method is that you don’t need internet connection for this method. So this is applicable to all OS’s.
The process is very simple and easy too. Just follow these simple steps.
Step 1: Open your Note Pad file. Copy the following code and Paste in it.
cls
:
END
@ECHO OFF
title worldtech360 Folder lock /*replace with your desired title */
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%==type 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
Now you’ll get a window like this.
Step 2: Save the file with .bat extension. While saving you’ll get a window like this right?
Save it as “locker.bat” and save it to “All files” as shown.
Step 3: Now close your Note-Pad file. You can see an image in the desktop. It’ll be present as an icon as shown
Step 4: Double click on the icon the file will Run and a Private folder will be created right beside it as shown above.
Step 5: All you’ve to do now is move all your files to the private folder.
Step 6: After you’ve moved your files run the locker.bt file again.
There your files are safe and secure now. Nobody can enter the file without your Password.
There’s also another alternative method using the same Note Pad method.
Step 1: First create a folder anywhere in your desired location. Create a folder that is similar to the control panel folders, say for e.g. Mouse
Step 2: Create a notepad file and type the following code in it.
ren Mouse Mouse.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Save it with .bat as its extension. Save it in the same location where your “Mouse” folder exists.
This code locks the file. And you can move the data that you want to hide from others.
Step 3: To unlock the folder type and save the following code with .bat extension.
renMouse.{21EC2020-3AEA-1069-A2DD-08002B30309D} Mouse
When you run this key file you can unlock the folder.
But preferring the first method is better than that of the latter method. Coz your files can be accessed only after entering the password.