Skip to main content

Password Protect Any Folder Without Any Software

In my previous post i have teach you to hide files behind images . In

this tutorial i will show you interesting and usefull trick to

password

protect folder without using any software using batch file

programming. This trick will work on all windows platform (Win XP, Win

7).

Follow below tutorial to learn this trick.



How To Lock Folder ?



1. Open Notepad and Copy code given below into it.



cls

@ECHO OFF

title tectochangetheworld.blogspot.com

if EXIST "Control Panel.

{21EC2020-3AEA-1069-

A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST MyFolder goto

MDMyFolder

:CONFIRM

echo Are you sure to lock this 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 MyFolder "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 Your

Secure Folder

set/p "pass=>"

if NOT %pass%== tectochangetheworldgoto FAIL

attrib -h -s "Control Panel.

{21EC2020-3AEA-1069-

A2DD-08002B30309D}"

ren "Control Panel.

{21EC2020-3AEA-1069-

A2DD-08002B30309D}" MyFolder

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDMyFolder

md MyFolder

echo MyFolder created successfully

goto End

:End



2. Save the notepad file as lock.bat (.bat is must)



3. Now double click on lock.bat and a new folder will be created

with name MyFolder



4. Copy all your data you want to protect in that New folder



5. Now double click on lock.bat and when command promp appears Type Y

and press enter.



6. Now MyFolder will be hidden from you view, to access that folde

double click on lock.bat



7. It will ask for password enter your password and done. ( Default

password is tectochangetheworld )



To change the password

replace tectochangetheworld with new password in the above code.



How To Further Secure ?



You might be thinking that anyone can access the password by opening

that lock.bat file in Notepad or any other text editor. To make it

more secure hide lock.bat in some secure location after following the

above tutorial To access the secured file double click on lock.bat. I

would suggest copying lock.bat file into Pendrive and copying it into

your

computer whenever you required to access to your protected files.





Keep Visiting our blog and share our blog.

Comments

Popular posts from this blog

How to Make a Video Game With Cmd

Here is a free, easy, no-download way to make a video game. You will learn a little bit about batch programming in the process. You'll need to supply your own story to go with this game. Steps Anything in apostrophes can be changed, it won't affect the game - don't accidentally type it in to the actual code. Open Notepad or any other coding programs-Geany, Notepad++, etcetera. Save the file as ‘My Game’.bat Start the Code. Start by typing: @echo off title ‘My Game’ color 0A if "%1" neq "" ( goto %1) pause Add Colours. Now save it and run, it will come up with an error and all the different colour combinations. Find the one you like and type it in after “color”, instead of “zz”. A good combination is color 0A, it makes the text green and the background black. Create the Menu. To create the menu get rid of pause and type in: :Menu cls echo ‘1. Start’ echo ‘2. Instructions’ echo ‘3. Exit’ set /p answer=‘Type the number of your option and press enter.’ if %a...

Hacking website using SQL Injection -step by step guide

Database: Database is collection of data. In website point of view, database is used for storing user ids,passwords,web page details and more. Some List of Database are: * DB servers, * MySQL(Open source), * MSSQL, * MS-ACCESS, * Oracle, * Postgre SQL(open source), * SQLite, SQL: Structured Query Language is Known as SQL. In order to communicate with the Database ,we are using SQL query. We are querying the database so it is called as Query language. Definition from Complete reference: SQL is a tool for organizing, managing, and retrieving data stored by a computer database. The name “SQL” is an abbreviation for Structured Query Language. For historical reasons, SQL is usually pronounced “sequel,” but the alternate pronunciation “S.Q.L.” is also used. As the name implies, SQL is a computer language that you use to interact with a database. In fact, SQL works with one specific type of database, called a relational database. Simple Basic Queries for SQL: Select * from table_name : this s...

How to enable areo glass areo transperancy in windows

 How to enable areo glass arnsperancy in windows Good news AREO GLASS TRANSPARENCY                   Microsoft windows 10 How to Enable Aero Glass Transparency with Blur in Windows 10?   Just follow these simple steps to activate and enable Aero Glass transparency with blur effect in Windows 10: 1. Type regedit in RUN or Start Menu search box and press Enter. It'll open Registry Editor. 2. Now go to following key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize 3. In right-side pane, look for a DWORD EnableBlurBehind. If you can't find it, create a new DWORD, set its name as EnableBlurBehind and set its value to 1 4. Close Registry Editor and restart, log off or restart Explorer as given here to take effect. That's it. It'll enable the new Aero glass transparency with blur in Windows 10. In future, if you decide to disable Aero glass, simply change value of EnableBlurBehind DWORD to 0 again. So you see...