Latest!

Windows Vista

Windows XP

Android

Tuesday, October 7, 2014

Lock your Folders in win 7 without any software


There are many ways to protect your folders with passwords. But many of them need a software to do that. But here am going to show how to protect your file folders in windows 7 without any software. You will need only a batch file created from note pad.
What you will need is notepad and some codes. For notepad, that is not a problem since all versions of windows do come with it pre-installed, (win 7 inclusive.). I will provide the code below as we proceed.
WARNING: Please be careful with this batch file if you are still a novice as far as PC is concern.

Create a folder and name it what ever you want
Create a new text file and open it with notepad and past the following code in the text file; 
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%== PASSWORD_GOES_HERE 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

 Change the PASSWORD_GOES_HERE with your desired password


Save the file as locker.bat somewhere in your PC.
After you can delete the original text file from your pc
Double click the Locker.bat file. It will create a Private folder and it is in this folder where you can add all what you want to hide.

Double click the Locker.bat again and now it will ask if you want to lock the folder. Press the Y button to accept. Then your Private folder will disappear.


If you double click again, you will be asked to put the pass word. 


How to See the Files Again

Most people don’t know how to show system files, but anybody who has some experience will probably be able to quickly figure it out in the Folder Options. To see the files again, all you have to do is uncheck the boxes for “Show hidden files, folders, and drives” and uncheck the box for “Hide protected operating system files”.

But any ordinary user who unchecks the box will most probably be scared off by the warning message that appears.

The second way someone could comprise the folder is to open the batch file and read your password. It’s definitely not a really secure way to hide your files, but it is fun.
Attribution note: We found this script on dozens of different web sites going back many years. We have no idea who first created the script, so we’ve omitted any sort of attribution link. If you do have proof that you first created the script, contact us and we’ll adjust the article accordingly.

If You Forget Your Password

Seems like once a week somebody writes in asking how to figure out the password they set. And the answer is really simple: Right-click on the locker.bat file and choose Edit.
Then you can see the password you set in the file.


source:http://www.howtogeek.com/105633/how-to-create-a-password-protected-folder-without-any-extra-software/









Post a Comment

 
Copyright © 2013 The World Of Freebies
Powered byBlogger