3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

simple folder locker

simple folder locker
I'm going to show you how to make a simple folder locker by just useing note pad.

This is my first instructable so tell me what my mistakes were and how i can improve my next instructable.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Open up notepad.

Open up notepad.
«
  • notepad open.bmp
  • start.bmp
  • run.bmp
  • notepad.bmp
First you need to open up notepad. Go to start, run and type in notepad or go to start, all programs, accesories, notepad.
« Previous StepDownload PDFView All StepsNext Step »
51 comments
1-40 of 51next »
Jan 26, 2010. 7:03 AMlife-is-beautiful says:
hey. well i like the batch my friend gave it to me to keep certain things hidden, but it really dont offer much security. so i went and edited it like mad. one of the things i did was that in the FAIL string i added the shutdown code. and i changed it so that the text will turn red if you get the password wrong and green if you get it right or lock the folder.  i dont know if you know how to do that and if you want ill tell you., (not saying your bad at batch (i am) but just helping another programmer). and i really do recamend that you put the shutdown code under the FAIL string. i mean that will stop more people from entering your "hidden" files. and other then my edits its a very good batch but it wont stop someone who knows alot about comps (duh) well im sure your tired of reading about my editing so yea ill stop typing. HAPPY PROGRAMMING
Apr 21, 2012. 8:21 AMjsvitlik says:
Who cares if you are programming php? PHP is not a computer language, but more of a webpage language like css and html.. It is completely irrelevant to MS-DOS
Mar 9, 2012. 2:54 PMýá says:
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" (Folder Name)
Mar 9, 2012. 2:53 PMýá says:
this thing easy to hack~
if got another locker also md locker the loker also can open ur files
or attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" (Folder Name)
that can open the lock folder
Jan 26, 2010. 7:09 AMlife-is-beautiful says:
oh and this is my edited version:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
color 0e
echo Lock?(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.
PAUSE
goto CONFIRM
:LOCK
color 0a
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
pause
goto End
:UNLOCK
color 0e
echo What is the password?
set/p "pass=>"
if NOT %pass%== goto FAIL
color 0a
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
PAUSE
goto End
:FAIL
color 0c
echo Invalid password
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End

Apr 7, 2010. 2:56 PMSaturn V says:
Is this the one with the shutdown code in it?
Apr 9, 2010. 7:28 AMlife-is-beautiful says:
 if you want the shutdown code goto the part of the code that says :FAIL after invalid password hit enter and type in shutdown -s -f -t (insert time) -c (insert message to be displayed) for the time and the message hit space before you type them in
Apr 9, 2010. 10:07 AMSaturn V says:
Thanks!  I have a freind I need to get back at.
Apr 9, 2010. 2:51 PMlife-is-beautiful says:
 no problem at all
Dec 4, 2009. 8:29 AMjovanjekralj says:
if you want to make sure that no one can hack it just download .bat to .exe converter. so no one cad edit the file and view the password
Nov 27, 2009. 8:01 AMm a r k o says:
well done
thanks
Sep 28, 2009. 7:22 PMfoolishboy says:
Well done mate!
Jul 14, 2009. 1:51 AMerikals says:
Great Instructable, however: You need to make the folder locker file more secure.
Jul 28, 2009. 2:30 PMsheepborg says:
'I have found the solution to the problem of insecurity'
1 do the Instructable
2 make a shortcut to the locker in the same folder after locker file folder is done
3 rename the locker "key"
4 make the "key" read only and hidden
5 rename the shortcut "lock"
6 in properties of "lock" change the icon to the lock looking one
7 also in properties go to colors and change all of the colors to black for invisibility (optional)
8 finally make "lock" read only
questions pm me for pic ect if you need them
Apr 13, 2009. 2:01 PMelmynase says:
so if you want to block lets says some text, you need to put the text in the locker file right ?
May 30, 2009. 7:15 AMjovanjekralj says:
Yes is tried it. It works
May 28, 2009. 1:52 AMRhyslightning69 says:
legandary u are awsome lol
Apr 13, 2009. 1:17 PMI3uckwheat says:
can some one give me a bat to exe converter
Nov 9, 2008. 10:55 AMCrazy Leprecaun says:
If you really need a locked folder or file(s), you can use a program called TrueCrypt. It is really secure. So secure, in fact, it complies with government standards. However, you would have to install it on your computer, and some people have to use a public computer, which would not allow that.
Dec 13, 2008. 8:45 PMteknoman says:
actually, idk if this is just with the newer versions on Truecrypt, but if u plug in a flash drive, u can set up a Traveler Disk they call it, which puts a portable excecutable version of truecrypt on ur flashdrive, i use it all the time, if u need specific instructions on this, go to their website. hope this helped.
Nov 17, 2008. 4:25 PModdelyodd says:
cool locker but the it people are smart they took my flash drive from me because I shut down all the computers at the tech center and the locker works but they can edit the batch file when i convert it to exe it seems to not want to work just blank command prompt and just sits there for long time sorry if i don't respond for a wile i am busy thanks
Oct 26, 2008. 3:38 AMcollard41 says:
a bit irrelevant to this instructable, but as this is for batch files hopefully you will know. how do you make system variables that do not go when you exit the batch file or restart the computer, in a batch file.
Oct 10, 2008. 4:37 PMberky93 says:
can someone tell me how to set a location for the folder that is created instead of the same folder as the batch file? I want to place the original batch file some obscure place and then make a shortcut to it, so that I can change the icon. but it only lets you make the folder where the batch is
Sep 4, 2008. 6:39 AMSatnam_Sakhi says:
When i tried the program, it works. But suppose i enter the wrong password in the first time, the program closes, and the locker folder will appear again. How do i overcome that??
Jun 10, 2008. 6:13 PMScammah says:
and also I can still see the folder and open it
Aug 12, 2008. 2:39 AMpentec says:
I'm running vista too and gettin the same problem as you Scammah, so its not just you haha
Aug 8, 2008. 7:00 PMrodeleros says:
That is COOOL!!!
thanks!!!
i needed that to put my other batch files in. so people wouldn't go deleting it or whatever.=)
anyway, great job. and really easy to do!=)

Aug 7, 2008. 9:34 AMI3uckwheat says:
does any body know how to make it so that they cant close it
Jun 30, 2008. 1:06 AMdopefinger says:
The folder is still visible but it opens up the control panel. But if I rename it, it will open right up. I have XP also
Jun 29, 2008. 11:54 PMgodp777 says:
how would this work if you put this batch file as an executable on a thumb drive... would it provide portable folder locking or not...???my coworkers and i swap thumb drives very frequently and theres things on my thumb drive that i dont want people to erase so if i hide em this way the only way they could erase them is too format the the thumb drive..which they wont because they are my coworkers..
Jun 10, 2008. 1:12 PMker-boom101 says:
hha thanks so much the instructrables didnt work so well for me i dont know why i also put a invisible folder in it and put all my stuff in there
Jun 14, 2008. 5:23 AMker-boom101 says:
no im running xp im not that great at batch and olowing instructions XD so it might be just me
1-40 of 51next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:pyro515