• Home
  • Contact Me
  • About Us
  • Privacy Policy
  • Sitemap

Techy Ways

Tech Tips and Tricks

  • Android
  • iPhone
  • Windows Phone
  • News
  • Computer Tricks
  • Internet Tricks
  • Blogging

Easiest Trick to Create Password Protected Folder Without Any Software

Last Updated on September 8, 2018 by Ashvin 3 Comments

Do you want create password protected folder? but don’t know how to create password protected folder without using any software, don’t worry you you are at the correct place. Here I am going to teach you How to create password protected folder without using any software. There are lot of ways, but this one is cool and without software. Protecting a folder with password lets secure your important and private data in Windows.

Create Password Protected Folder Without Using Any Software

There are different softwares are available that will provide you this feature but there is problem with that. if by any means that software is un-installed you might loose you personal data because of the login credentials will be deleted. In this tutorial you will learn to create your own method to lock a folder with a password protection.

Also Check : How To Uninstall Apps On Mac System

Well, lets start how to create a folder with a password so that only those user who knows the password can open it. Just follow these steps.

Easiest Trick to Create Password Protected Folder Without Using Any Software :

Step 1. First make a new folder ( name it as you like ) then inside this folder, right click then “new” and click “Text Document”.

Create Folder

Step 2. Open the text file then copy the entire code below  and paste it inside.

cls 
@ECHO OFF 
title Folder Private 
if EXIST "HTG Locker" goto UNLOCK 
if NOT EXIST Private goto MDLOCKER 
:CONFIRM 
echo Are you sure you 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 Private "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== CHANGE_YOUR_PASSWORD goto FAIL 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Private 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Private 
echo Private created successfully 
goto End 
:End

Step 3. After you have paste the code don’t save it yet. Find this line : (if NOT %pass%== password here goto FAIL ) and change the word “password here” to the password you want.

Also Check : Ultimate Guide to Secure your Personal Computer

Step 4. After that go to ‘save as’ and name this file as “locker.bat “. Now back to the folder & you will find a “LOCKER command”.

Locker

Step 5. Double Click on it and you will find a new folder (Private ). Ok, now copy what you want in this “Private Folder” & after that come out of the folder.

Private Folder

Step 6. Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?. Press “Y” and press enter, then your private folder will disappear. If you want to UNLOCK your folder, go to “LOCKER command” and type your password and you will see your private folder.

Save Command

Congratulation! your password protected folder is created now. So this is not a cool? You can easily lock a folder in few clicks. Complete folder protection without any software. Let us know if you have any issues during folder locking. You can easily save your private documents and files inside that folder and lock them.

Thanks for reading and keep visiting for latest tips and tricks.

More from my site

  • Easy Trick To Lock And Unlock Your PC Using USB PendriveEasy Trick To Lock And Unlock Your PC Using USB Pendrive
  • Trick to Find Out Saved Password In Mozilla Firefox Browser 2019Trick to Find Out Saved Password In Mozilla Firefox Browser 2019
  • Trick to Turn Off Facebook Event Notifications on iPhone and PCTrick to Turn Off Facebook Event Notifications on iPhone and PC
  • Ultimate Guide to Secure your Personal ComputerUltimate Guide to Secure your Personal Computer
  • Trick to Manually Recover the Unsaved Excel spreadsheetTrick to Manually Recover the Unsaved Excel spreadsheet
  • Trick to Stop Autoplay Video in Safari for MacTrick to Stop Autoplay Video in Safari for Mac

Filed Under: Computer Tricks Tagged With: password protected folfer

Comments

  1. Nisha Pandey says

    April 29, 2015 at 10:00 am

    Hi Ashvin,

    I am amazed that there was such a way to lock our folders with password. I had always thought about it and made online searches but ended up with links to some software programs. I could never trust those programs as they may contain viruses.

    You have made the method simple by providing all the code and instructions.

    Thanks for this valuable post! Have a great week!

    Reply
  2. abhinav says

    April 30, 2015 at 6:51 am

    Wow what a great trick , now i can maintain my privacy without unusual softwares thank’s for sharing

    Reply
    • Ashvin says

      April 30, 2015 at 8:40 am

      Welcome to Best Mobile Tips Abhinav.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Special Recent Posts

Revealed: Top 10 Tips to Start A Successful Home Business

Revealed: Top 10 Tips to Start A Successful Home Business

How to Build a Strong Relationship with Your Readers

How to Build a Strong Relationship with Your Readers

How to Find a Suitable and Profitable Niche for Your Next Blog?

How to Find a Suitable and Profitable Niche for Your Next Blog?

Trick to Stop Autoplay Video in Safari for Mac

Trick to Stop Autoplay Video in Safari for Mac

5 Best Image Optimization Tips for Better On Page SEO

5 Best Image Optimization Tips for Better On Page SEO

7 Best Strategy Games for Android in 2019

7 Best Strategy Games for Android in 2019

How This 50+ Short Blogging Tips Will Help You In Blogging

How This 50+ Short Blogging Tips Will Help You In Blogging

Top 10 Best Antivirus Apps for iPhone 2019

Top 10 Best Antivirus Apps for iPhone 2019

Subscribe to our mailing list

* indicates required

More Post From Techy Ways

  • Ultimate Guide to Secure your Personal ComputerUltimate Guide to Secure your Personal Computer
  • Trick to copy music files to iPhone without iTunes syncTrick to copy music files to iPhone without iTunes sync
  • How to Hide WhatsApp Pop Up Message on Android PhonesHow to Hide WhatsApp Pop Up Message on Android Phones
  • Trick to Unlock, Root and Install TWRP Recovery on Redmi Note 4Trick to Unlock, Root and Install TWRP Recovery on Redmi Note 4
  • Trick to Hide Secret Files and Folders Inside The Calculator On AndroidTrick to Hide Secret Files and Folders Inside The Calculator On Android
  • How to Avoid Accidental Calling on iPhoneHow to Avoid Accidental Calling on iPhone
  • 8 Ways to Optimize Links To Get More Clicks8 Ways to Optimize Links To Get More Clicks
  • Top 10 Best Antivirus Apps for iPhone 2019Top 10 Best Antivirus Apps for iPhone 2019
  • 8 Best Launchers for Android Marshmallow in 20198 Best Launchers for Android Marshmallow in 2019
  • How To Hide “Last Seen At” Feature In Whatsapp For AndroidHow To Hide “Last Seen At” Feature In Whatsapp For Android
Copyright © 2019 | Techy Ways