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...

How to use pendrive as ram

How to Use Pen Drive As RAM Nowadays, many programs take lots of memory during operation, which is a nightmare for low RAM systems. So to avoid this make your pen drive/USB of large size as RAM, which will allow your system to handle more operations and tasks. To know how to do this, follow the steps below. Method One of Two: Using a USB Pen Drive as RAM in Windows XP Delete all the stuff on your pen drive. Insert it and let the PC read it (minimum 2 GB). Right click on My Computer. Click on Properties from context menu. Click on the Advanced tab. Click on Settings under Performance. Click on the Advanced tab. Click on the Change button under Virtual memory. Select your USB drive. Click on custom size radio button and give the values as follows; Initial Size:1020 Maximum size:1020 The size depends upon your free memory capacity of your pen drive. So you can change this limit according to your pen drive size. Click the Set button, then click on OK. Restart the computer with pen drive in...

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...