Sunday, 13 April 2014

Hide/Lock Your Folders Without Any Software

Password protected folders allows you hide your important files from third parties. There are many software available to lock your files, but what do you do, if you don't have such programs. A batch script simply makes it work. Using this method you will be able to hide your folders using password protection. The method will work on all computers having windows operating system and you don't need any additional tool to try this. Follow the steps below to create a folder windows with password protection.

Create Password Protected Folder Windows

How to Hide Folder Without Software

Step 1: Create a folder anywhere and name it anything. (Example MyFiles )
Step 2: Open the newly created folder MyFiles, then create a new text document and add the following text in to it.

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%== My_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: Change My_Password to the password you want and save it to bat file. (Example Protected.bat).

Note: If you can't change the .txt file type to .bat, click on Organize from the left side of the window, then select Folder options, and then uncheck the box "Hide extensions for know file types". Click OK.

Folder Options Windows

When you run the bat file for the first time it will create a folder named Private, then store your files to this folder. 


Step 4: After adding files double click on bat file, it will ask you to confirm locking. Enter y to lock folder. Hereafter the folder will disappear. 

Confirm Lock Batch File

Step 5: If you want to view the folder again, Double Click on the bat file and enter your password. 

Unlock Folder Batch File

Step 6: End 

Must Read : Make Invisible Folder In Windows   

PS : The method used here is not really useful to secure your files. One who can view the batch file can able to get the information stored in the Private folder.  If you want to protect your folder with encryption, you can make use of any folder encryption programs. File Secure Free is a freeware you can try, that throwing more features like File Encryption, USB Drive Lock, File Shredder and File Backup.

Download File Secure Free 

Recommended To Check:
Share it Please

About

Trickzcafe.blogspot.com is a technology website founded on June,2011 with the intention of providing tips,tricks and hacks about Computers, Mobiles, Internet, Social Networking, Software's and Mobile Networks. Follow Us on Facebook Twitter and Google Plus

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Copyright @ 2013 Trickz Cafe. Designed by Templateism | Love for The Globe Press