Monday, June 29, 2009

0 How to Lock Folders Using Notepad

Save to delicious Saved by 0 users


lockerHello.

Have you ever wondered if it is possible to Lock Folder using Notepad?

Well yes it is possible to Lock Folder Without Any Software. This method works fine in Xp/Vista and hopefully upper versions of windows.

Please don't use this method if you are unsure what you are doing, I am not responsible for any damage caused by use of this, though it won't occur if you follow my steps correctly.

Here we start:
Open Notepad from your Start -> All Programs -> Accessories -> Notepad
notepad

01. Copy and Paste the below code in Notepad and Save it as FolderLock.bat

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

bat file


02. Now Double Click that new Batch file named FolderLock and it will make a new folder named Locker in the same location:
bat file
bat file

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:
bat file


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.

Hope this helps. If you have any question or doubt, please leave a comment and I will get to you as soon as possible and will help you to best possible way.senyum


So if you like this blog's articles? Then don't wait and Subscribe, Explore and Give Your Comments on My Blog. Thanks for visiting and hope you will be a frequent visitor.
mobile alerts Rss Feed mail subscribe Twitter Facebook mixx Orkut Flickr Google Profile Skype Blogger Profile Blogger Profile
Share/Bookmark

0 Comments:

Post a Comment

If you guys comment (My blog is Do Follow blog so feel free to comment) then i will follow your blogs. Comments will help me to judge the way i am writing. Thanks
Author: Vaseem Ansari

 

About Me

My Photo
Vaseem Ansari
Hey guys this is Vaseem Ansari, 25 years old, Software & Web Developer, Blogger & works on Open Sources Technologies I love my family and my loved once very much. It takes a while for me to build trust in someone new. I am honest, thoughtful, and my friends tell me that I am wise. I would also say that I am stubborn. but I do learn from my mistakes. I'm Glad I'm Me No one looks The way I do. I have noticed That it's true. No one walks the way I walk. No one talks the way I talk. I am me. There's no one else I'd rather be! Have fun reading this blog and don't forget to subscribe to the feed to keep updated on the latest articles.
View my complete profile
If you like what i am doing, then consider helping me out in meeting the running costs of this blog.

Are you in the list of Followers

Privacy Policy | CopyRight Policy | Disclaimer | Contact Us | Site Map
A blog about Programming | PHP | Open Sources | Mozilla Hacks | Google Tips | Security | Microsoft | Blogger Tips | Hacking Tips | Inside your Pc | Resume Tips | Career Guidance | Mobiles | Sports Cars | Latest in the Market | World Records | Make Money Online | Lyrics | Feedburner | Html Tips | Love and Relationship | Web Designing | Twitter Tips | Google Adsence | Softwares | Downloads | Firefox | My Blogger Profile | Privacy Policy and many more all just for free by Vaseem Ansari The CodeMastrz.