How to lock a folder using Notepad......
- Amrit Patra
- Sep 29, 2014
- 2 min read
In this tutorial post i will show you how to lock your Folder without using any additional software like Folder Lock etc. It is simply a notepad trick which protects your Secret File from anyone...
To Lock your Fokder follow the Steps :-
Step -1 Open Notepad // start>all programs>accesories>notepad
Step - 2 Copy the Below written code to the notepad //
cls
@ECHO OFF
title Future Tech Boy //How to lock a folder ?
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 please press y for yes or n for no.
goto CONFIRM
:LOCK
ren MyFolder "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 Your Secured Folder
set/p "pass=>"
if NOT %pass%== Future Tech Boy goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
Step - 3 Save the newly created notepad file as Foldelock.bat
NOTE : you can give any name but *.bat is necessary
Step - 4 Now open the Folderlock.bat // Now copy all the files you want to protect in to Myfolder.
Step - 5 After copying all the files into the folder cilck on the Folderlock.bat file the folder will get Hidden.
Step - 6 To open the locked file click on the Folderlock.bat file it will ask password the default password is Future Tech Boy . If you change the password rewrite in the color phrase in the above code.
Step - 7 If you want to know more tricks please send us a message.........
Comentarios