Every computer user comes to certain situations where some files are need to be sure from other users and Using a Folder Locker isn’t a good option because it says that it’s a Folder Locker ,and everyone knows what it means ,So now a big question arise that how you can protect your files,without even get recognized; that you are using a software specially build for securing your files.
I was Facing same kind of situation and after searching and spending many hours got an Idea where we can use Notepad for securing our Files without even get recognized.
Here we start:
Open Notepad from your Start -> All Programs -> Accessories -> Notepad
Step 1: Copy and Paste the code below in Notepad and Save it as FolderLock.bat
Code:
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%==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
Where it says "type your password here" Delete that portion, and put in whatever password you want.
Now save this notepad file as FolderLock.bat
Step 2:- Now Double Click that new Batch file named FolderLock and it will make a new folder named Locker in the same location:
Now put the Data Inside the folder Locker and again Double Click the Batch file to Lock it, this will give you a prompt, just Type y and press Enter ,
Now keep the Batch File named FolderLock.bat in a different place like your USB Pen Drive so that only you can access the Folder you have locked.
To Unlock the Folder just double click the Batch file again and type your password .
This will give you a free tool for protecting your files.
Tell me how you protected your files from others by using comment option….
Thanks………
Tags: Tips And TricksIf you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to my regular Email Updates. Subscribe Now!