Daily Tips Ndtricks

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 2 September 2012

Lock Folders Using Notepad

Posted on 06:08 by Unknown

Lock Folders Using Notepad, Notepad Trick.

Everyone has some confidential files, documents, etc.. which are to be hided from others, especially while using a common computer in home or elsewhere. There is no need for you to search for software to a accomplish this task of locking folder. Just follow the below steps and get it done within a fraction on second! :)


Steps to follow:

Open Notepad and paste the following program in the 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 your desired password.
  • Save the file anywhere in the system with a .bat suffix. Eg. something.bat 
  • Double click on the something.bat file which you created, a new folder with name Locker will be created on the same location of .bat file you saved.
  • Copy The files you need to password protect into this Locker Folder.
  • Now open the .bat file again and type Y and then press Enter to lock your folder.
  • To unlock your file again, you need to open the .bat file and enter your password.
  • That's it! Please comment if you find difficulty in doing this. I will surely help you :)

Feel free to hit Like, Share or Comment if you like this post.

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Computer tricks, tricks | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 8: How To Eliminate Shut Down Problem
               Windows 8 latest operating system launched by Microsoft known for its Modern UEFI interface, windows defender with antivirus prog...
  • 5 Reasons To Use A Website Builder
    If you don’t have a personal website, but you’re dreaming about launching one, you’ve come to the right place. In this article I’m going to...
  • GRAPHENE: A Material That Enabled the Creation of Flexible Smartphones
    Infographic By Quib.ly
  • Spider Silk: The Super Material of the Future
    Today's scientists and researchers are more advanced than they have ever been before thanks to the use of highly effective traditional ...
  • Download GMail Drive To Use Gmail As a Storage Medium [Freeware]
    Hai Guys, here is an amazing software to use the space (About 10GB) available on your Gmail account for storing your files and folders onlin...
  • Tips to Prevent Data Loss!
    How do you protect yourself from losing important data? Do you save your work as often as possible? Do you do backups? Here are a few effect...
  • Samsung Galaxy S3 (Root, Recovery and Custom ROMs):
    Introduction: After the Samsung Galaxy S3 was released, there were many rooting tools introduced into the market due to its increase in dem...
  • What The Changes In Google Panda Mean For Your Website
    Google is always going through some changes. The fact is that most of the changes do not mean that much to the average website. They are ma...
  • Starting a Startup: Some of the Best of 2013
    These days, everyone wants to come up with a clever startup idea - especially those in the tech field. Startups can be vehicles for making...
  • Protecting Your Data Before It’s Too Late
    Some data is particularly sensitive and if it gets into the wrong hands, the consequences can be dire. However, even if data doesn’t fall u...

Categories

  • android apps
  • apps
  • blogging
  • Blogging How To
  • Blogging Tips
  • Blogging Tools
  • business
  • Buying Guide
  • Cloud Computing
  • Computer Tips
  • Computer tricks
  • domain
  • Downloads
  • Earn Online
  • Facebook
  • Facebook Tricks
  • freewares
  • gadgets
  • games
  • Gaming
  • Gaming Tips
  • Gaming Tools
  • Google Glass
  • how to
  • Infographics
  • iphone
  • iphone apps
  • Mobile Tips
  • Mobile Tricks
  • Online Tips
  • Online Tricks
  • Other Tricks
  • printers
  • QR Code
  • recycle
  • review
  • Security Tips
  • seo
  • social media
  • softwares
  • Tech
  • tips
  • Tips -Computer Tips
  • tricks
  • Useful Tools
  • Web host
  • website
  • wet mobile
  • windows phone 8
  • youtube

Blog Archive

  • ►  2013 (331)
    • ►  December (3)
    • ►  November (11)
    • ►  October (23)
    • ►  September (27)
    • ►  August (26)
    • ►  July (25)
    • ►  June (36)
    • ►  May (56)
    • ►  April (30)
    • ►  March (31)
    • ►  February (31)
    • ►  January (32)
  • ▼  2012 (43)
    • ►  December (11)
    • ►  November (2)
    • ►  October (2)
    • ▼  September (9)
      • Does Bing Says "Your Feed Was Empty" On Submitting...
      • Access Blocked Sites In Schools And College
      • LG Mobile Phone Secret Codes
      • Enter Into Blocked Sites In India
      • Best Android Games Ever
      • Trick To Speedup Your Firefox/Chrome's Speed
      • Trick To Transfer Balance For All Mobile Networks
      • Lock Folders Using Notepad
      • Simple Notepad Tricks
    • ►  August (18)
    • ►  July (1)
Powered by Blogger.

About Me

Unknown
View my complete profile