Thanks mannnnn :) and FOR open NOTEPAD : @Echo off cls :Password Set input= set /p input= Password (input then press enter) : if %input%==password goto YES if not %input%==password goto NO :YES Start notepad.exe Exit :NO Echo INCORRECT PASSWORD goto Password
TRANSLATE IT PLEEES POLAND :Niedługo puszcze na yt filmik z linkiem do programu o który tutaj bedzie mowa bedzie to GLaDOS - tak wiem skads znacie ta nazwe ale jak mówiłem bedzie to zbiór gier jakie beda tam najciekawsze i to w bat !!!!! (BATCH) zapraszam za 3 dni na moim kanale bo narazie u mnie jest pusto ;-) ...
@herebutoverthere u think its funny to mess up ppls computers? someone that doesnt know what this command mean will delete a very important file and destroy his computer... i dont find this funnny -.-
Can i password protect a Batch command? because i made a program th userinputs a Admin account and makes the account or wht not but i want a password for the admin part so no one can jsut make admin without password :D
what is to prevent someone from just finding the file normally and opening it? This may be a dumb question but I honestly want to know because I just cant figure it out
@chicois41 hide the files. or if you are trying to hide something from your mom, put the normal file in a file called school work. she'll never go in there lol
** USE THIS ** @echo off title Password Protection :1 cls color a echo Please, enter password code to continue... echo. set /p var=Password: if "%var%"=="YOURPASSWORDHERE" goto ready echo Incorrect password! ping -n 2 localhost >nul goto 1 :ready ENTER OTHERS COMMANDS HERE exit /t
is there a way to make the password apear starred out ----> ******** i have an advanced program i just cant quite figure out how to do that thanks for this :)
Why? Because cracking the password there is wayyy to easy the only thing that you have to do is to go to and edit the bat and scroll down until you find the IF %pass% == banana
@abcdefg: how would you know it? ok, if you see the code, but if you make it to fullscreen, and you put some commands in for not closeing the window, it could work! but, i would make a "format"-command at the end....
Actually, I don't give a shit about making passwords. But this explained to me how I could make variables work and check what they are, so, thanks, dude. Thumbs up!
why does this one have 25.000 views .. its even a nooby prog and my vids only have like 300 ... i made a prog which is 3067 rows long ... in 7 months ^^ you can do anything with it
open notepad and type this in save as .bat this will just keep opening the command window when i tested this code (i wrote it) it open over a hundred in less than 5 seconds
:start
start
goto start
if you figure out how to stop the oppening please tell me i accidentally crashed a cp at shool because i couldnt stop it
@Rankirishin to reset the variable... if you press enter, input has at the beginning the same value of the input before. allwas reset the value of the variable
I doesn't work correctly. If i type the correct password, then it will open a new cmd with the same question. If it's wrong, then a normal cmd will open.
Si les interesa este tema, yo tengo un blog donde publico tutoriales, videotutoriales, e incluso programas, la dirección es tecnologiapasionante.blogspot.
This is all fine and great, but the problem is that when the password window pops up, one can simply exit out of it by clicking the X... how do I avoid this?
Also this is easy: @echo off cls echo Insert your password set /p pass= if not %pass% == (input here) goto fail echo YOu made it! :) :fail echo YOu failed! ping localhost -n 3 >nul // Tels cmd to wait 3 sec // exit
This does not password protection anything. They can just open up paint. All it does is make you put in a password for no reason. Even if you say that it puts a password on, you can just Right Click>Edit and find the password.
bau halt cls ein
sebastian1998j 1 week ago
Yes, its work!! (:
SuperMydrive 1 week ago
YAY it worked
MicahVance 2 weeks ago
that should work until someone right clicks and left clicks "Edit"
G0dlyGam3rs 1 month ago
Thanks! I've been looking for this almost everwhere on the internet. This is awesome.
GeekoftheFuture112 1 month ago
what does cls do? and nice music by the way!
thebeanokid 1 month ago
@thebeanokid cls clears the screen idk why he choose to do that in the beginning because its not needed
G0dlyGam3rs 1 month ago
Hmm .. You can also just click on X or just put the enter button ...
But it can be fun
onlyreplaymb 2 months ago
richto01 2 months ago
This has been flagged as spam show
TRANSLATE IT PLEEES POLAND :Niedługo puszcze na yt filmik z linkiem do programu o który tutaj bedzie mowa bedzie to GLaDOS - tak wiem skads znacie ta nazwe ale jak mówiłem bedzie to zbiór gier jakie beda tam najciekawsze i to w bat !!!!! (BATCH) zapraszam za 3 dni na moim kanale bo narazie u mnie jest pusto ;-) ...
Rikey098 2 months ago
what is the name of this song?
OnlyJokers 2 months ago
Cool!!
KingDJJanosch 3 months ago
mine say's windows cannot find 'MSnotepad.exe'. Make sure you typed the name correcty, and then try again.
ghostCAM45 3 months ago
@ghostCAM45 Don't type MS in front of it :)
TheMrH4mm3r 3 months ago
Batch is one of the easiest programs to write in, hail to Microsoft the owner of our base
venmon619 3 months ago
Awesome Thanks! But is it possible to block the program it opens so you HAVE to know the password to use it?
epicnerd905 3 months ago
thx man! ur awesome~
FrtzFoxyCkTalha 3 months ago
its weird actually seeing someone on youtube use windows
mzmet2001 3 months ago
@mzmet2001 Huh? Youtube is used by all OS's....
bennybobz9 3 months ago
XM.?/
KING'S COUNSEL
SEALED
whotaughtyou 3 months ago
NICE! thx! :D
DuckChallenge 4 months ago
@herebutoverthere u think its funny to mess up ppls computers? someone that doesnt know what this command mean will delete a very important file and destroy his computer... i dont find this funnny -.-
4Antonis 4 months ago
u can also create a title :
title type here your title
and maybe you could color your letters
color 4
next to color you can type whatever number you want every number gives you a different color
oh and i have also one question....
does it work the same if u instead of "%input%" write another word such as "%test%" ?
4Antonis 4 months ago
@4Antonis You can use any variable, he just used %input%.
FtDSpartn 3 months ago
it would look better if u typed
:NO
echo INCORRECT PASSWORD!
pause
cls
goto password
.... what the cls command does is that it clears your screen :P your password protection prog will look now way better :p
4Antonis 4 months ago
if you want to create password on your specific program file?
change the code:
"Start MSpaint.exe"
(for this example i will use my Virtual DJ program)
"Start /d "C:\Program Files\VirtualDJ" virtualdj_pro.exe"
...
coz MSpaint has a SPECIFIC LOCATION already when you first install your OS, that the system bat easily find the MSpaint.exe....
MitchiBoy3 4 months ago
Comment removed
MitchiBoy3 4 months ago
Very good ... :D thanks ...
Could u pls explain the meaning of these program functions like : set /p , %input% , what is % ?
Thanks
RockerTheJuniorr 4 months ago
another notepad tutorial: /watch?v=PG5rRWL6SPg
einHenrik 4 months ago
THX This help me find what I want :-D
xDumpDogx 5 months ago
Thumbs up for Star Wars style :D
KingOfCrafting 5 months ago
thx man searched an 1 hour 4 this
YOUNGJIZZILE88 6 months ago
thx
DeadlyRaven1 7 months ago
I Remember the old times with the DOS games !! funny.
Recuerdo que llevaban bat los juegos para elegir placas de video
javamaster666 7 months ago
WAO , EXCELENTE VIDEO , MUY UTIL, TE FELICITO
tavo210191 7 months ago
How can I make it something other than paint? I want to open a notepad file with a password.
CodCats 8 months ago
@CodCats you can put where the cde has paint the fille that you want (exaple C:\user\documents\mybatfilles\passwprdnotepad)
anonymouscitizen0101 7 months ago
where can one buy a copy of that song?
DaGodPigeon 8 months ago
people need help!! =( i batched a small file- but now cmd allways says after writting something that @echo is off
it spoils the batch so i wanted to know how to make it go away?
kenzan4 8 months ago
it is a trick he want's to hacker your emails and facebook by his keylogger if you take a good look at what he wrote you find input
simoo990 8 months ago
it's a keylogger be carefull
simoo990 8 months ago
attention c'es un hacker un key logger lah in3lk al hmar t3lmti 2 l3bat o jay kat3i9 3l bachar
simoo990 8 months ago
attention c'es un hacker
simoo990 8 months ago
im sorry bro when im tested on my computer its work ! i not saying sorry for that but for this : I want to thumbs up but i didnt have a thumbs
erlangibr 8 months ago
lol ... i guess you like cheese :d
unbreakiblespy 8 months ago
Google
whotaughtyou 8 months ago
is there a way to make it "safe mode" like when you type in the password, its not cheese its ******
tails2fan 9 months ago
yo thanks a lot man now i could improve my files......
Stereborg 9 months ago
You could put
if /i %input%==cheese
With that, it would not matter if you typed ChEEse, cHEsE, Cheese,cheese,cheesE, or whatever...
Anyways great vid
BigdangerOGame 9 months ago
so weird
measic6695 9 months ago
It work when i copy urs word for word but when i tried doing it with another program it doesn't work. plz help
peterslay 9 months ago
how to remove it???
benDICK1231 10 months ago
for all of you who think you can just right click and edit just save it as .exe then you cant OK
ultimategamerelite 10 months ago
how do u get the password without a username via notepad
calin101rocks 10 months ago
Hey man that is verrrrry coooool!!!
25muli 10 months ago
how do i convert it to a folder not paint it would be eaiser if u showed that not paint
emmlobee11 10 months ago
people can just right click and press "EDIT" and simpley read the password
or just run the EXE strate LOL
DizzyOnDaHype 11 months ago
This doesn't password protect anything.
Virusational 11 months ago
@DieUSuperMonkeyFuck batch file stuff
MidnightStrike105 11 months ago
fuck u??
mrwhitesmoker 11 months ago
Ehh... You can just go to programs and open it that way... Makes no sence?
ViggoTuto 11 months ago
Does anyone know what progamming language this is?
Is it Assembly Code?
DieUSuperMonkeyFuck 11 months ago
@DieUSuperMonkeyFuck look at title heres a hint its in the words "Notepad BATCH:" hmm what could it be?
00011theman 11 months ago
@DieUSuperMonkeyFuck
.Bat
Virusational 11 months ago
Nicee!! make a security too xD
mamat92game 11 months ago
@Flubblemonkey Converting to EXE hides the password :)
KartSeven1 1 year ago
It's more easy that:
if %input%==cheese (goto YES) else goto NO
¿No?
annavi13 1 year ago
Nice!
1LoserRob 1 year ago
If the file to be oppened is 2 words, how do you open it?
TheReflectedD 1 year ago
Ive been doing batch code for a long while and i can tell you messed up a little bit... But still good job. Nice work.
iPodHacker247 1 year ago
ty....
harmenqwe 1 year ago
uhhh... Its not 100% work
if I type not to good password I can't try again
Its will exit... WHY I have the same txt what you have :(
harmenqwe 1 year ago
nice, but can i make like :NO
@Echo off
attrib.............. and then virus code???
SeRgA123456789 1 year ago
I want to change my User permissions with a batch file is that possible? if so can you show me how?
GothGuy125 1 year ago
Disagree, you can change "See Hidden Files" in the file properties
ninjawux 1 year ago
Can i password protect a Batch command? because i made a program th userinputs a Admin account and makes the account or wht not but i want a password for the admin part so no one can jsut make admin without password :D
jakebobjo 1 year ago
@jakebobjo instead of start mspaint.exe just write start (then whatever your file is called)
TheGamePr3dator 1 year ago
How can i mask the password letters?
jorg428 1 year ago
how would you make it open something different?
DasBasdoInc 1 year ago
You type in that when you type in Three times the wrong Passwort that the pc shutdown or that the bat file delete itself
Airbus711 1 year ago
U must have Windows to do this!
tweetyaja 1 year ago
Im having some trouble with this;
what is to prevent someone from just finding the file normally and opening it? This may be a dumb question but I honestly want to know because I just cant figure it out
DX
chicois41 1 year ago
@chicois41 hide the files. or if you are trying to hide something from your mom, put the normal file in a file called school work. she'll never go in there lol
mclmatty 1 year ago
@mclmatty Thanks :)
chicois41 1 year ago
eadeneto 1 year ago
Comment removed
blasterstorme 1 year ago
LOL THANKS! i password protected my sisters computer's ALL files :D
Kittamiau 1 year ago
i have got one problem with your video i had to fix something myself on the set /p
you sent the rest of the message to the next line dont do that it needs to be together.
but thankyou
Terigator12 1 year ago
Only shows "Syntax error"
0815Fritzchen 1 year ago
Doesn't work on my pc
0815Fritzchen 1 year ago
is there a way to make the password apear starred out ----> ******** i have an advanced program i just cant quite figure out how to do that thanks for this :)
loverodogs 1 year ago
song is awsome!
1999JTB1 1 year ago
lol batch fiile>right click>edit>look for password XD
Flubblemonkey 1 year ago 29
@Flubblemonkey Fix, Compile it to .exe :D
jakebobjo 1 year ago
True but theres many retarted people that wouldnt even think bout it @Flubblemonkey
illbeat1337 1 year ago
@Flubblemonkey Convert .bat to .exe :D
trymesucker 11 months ago
@Flubblemonkey not if you convert it to an application
MidnightStrike105 11 months ago
@Flubblemonkey or you could hide the batch file make a shortcut and disguse the shortcut as the actual program.
MidnightStrike105 11 months ago
@Flubblemonkey convert it to a .exe
basketballdude138 9 months ago
@Flubblemonkey thats what you convert it to exe.
carterlee12 9 months ago
@Flubblemonkey Thats when batch files to .exe compilers was created x) Sorry to burst ya bubble... really
Haxydaman212 9 months ago
@Flubblemonkey put the notepad doc in the folder you want to protect with the password
THNXMATE 8 months ago
@Flubblemonkey u can easilly convert ur batch fille at .exe fille and the delete the converter so no one can reconvert it to batch fille
anonymouscitizen0101 7 months ago
@Flubblemonkey Bat to exe, FTW
LulzBrit 6 months ago
You no it start mspaint if i wanted it to start a different program, what would i put ?
RedVinesOfficial 1 year ago
i have made many like this based on other ones but how do you get the password to be bleaped out like so ******** instead of
example: unlock?
yes
enter password
cheese
:how would i get cheese to be bleaped out?
(nubs my example is not a working program)
loverodogs 1 year ago
dude this is the greatest thing ever * i make batchs my self but very good video:)
gearsofwarowner123 1 year ago
This is not that kind of a protection.
Why? Because cracking the password there is wayyy to easy the only thing that you have to do is to go to and edit the bat and scroll down until you find the IF %pass% == banana
Then banana is the pass so easy
But still awesome video
awsumgeorge1 1 year ago 2
yay now i password protect all my porn yaaaaaaaaaaaaaaaaaaaay
chrisames1 1 year ago 47
@chrisames1
hehe me too :P
Thoumbs up for pooorrrnn =P
JokucFromBFME 1 year ago
@chrisames1
yey me too :P
thumbs up for porn :D
JokucFromBFME 1 year ago
@chrisames1 haha same here dude :D
alesnacarlo123 9 months ago
@chrisames1 why protect your porn so your mom doesn't know you fuck with guys?
codebombify 6 months ago
@chrisames1 lol wtfώ
robloxunmario 6 months ago
@chrisames1 TROLOLOL!!
soldercraft 5 months ago
good song
outerguitar 1 year ago
set input is not necessary
Twirlenkiller 1 year ago
Thank you i have this piece in my (Batch) Game and the Song is amazing.
RadikaleRusse23 1 year ago
This has been flagged as spam show
u made that music?
LBPruleGUYZ 1 year ago
Thankyou it worked
WHITEDEMON40 1 year ago
COOL but what do i do if i want it to open something what do i edit???
zombiedude182 1 year ago
i just love doing stuff with my notepad
mikotine 1 year ago
@abcdefg: how would you know it? ok, if you see the code, but if you make it to fullscreen, and you put some commands in for not closeing the window, it could work! but, i would make a "format"-command at the end....
fixi209 1 year ago
Actually, I don't give a shit about making passwords. But this explained to me how I could make variables work and check what they are, so, thanks, dude. Thumbs up!
MrNitt 1 year ago
Cooool!!
busfany 1 year ago
i know how to get the password even if i dont know it
abcdefg11140 1 year ago
Problems on batch? Visit my clean, simple tutorials.
Peppiatt96 1 year ago
wow.amazing protection.now my files are finally safe.or NOT.moron.
SkyDiver17 1 year ago
@SkyDiver17
Your just a troll!
Cant you read?
How to make a SIMPLE PASSWORD.
There are more advanced ones out there.
So if this dont help you then watch anouther video!
vancar6 1 year ago
I got a question... why did you put cls before the first directory?
Lol... just wondering xD
segun24 1 year ago
@segun24 cls means new screen
but it leaves commands as they shoult
it just erases the screen for a new use
pasrvrb 1 year ago
why does this one have 25.000 views .. its even a nooby prog and my vids only have like 300 ... i made a prog which is 3067 rows long ... in 7 months ^^ you can do anything with it
lukijuxxl 1 year ago
hi, Question: is there a way to make the computer lock or log off or something like that if the password is put in wrong 3 times?
i2ghost34 1 year ago
hey, i have a question... is there a way to make it lock the computer or log off or something like that if the password is put in wrong 3 times?
ROBINandCALLUM 1 year ago
This has been flagged as spam show
Nickingeorge 1 year ago
WARNING this will destroy computers
wanna mess up a computer try this
open notepad and type this in save as .bat this will just keep opening the command window when i tested this code (i wrote it) it open over a hundred in less than 5 seconds
:start
start
goto start
if you figure out how to stop the oppening please tell me i accidentally crashed a cp at shool because i couldnt stop it
deathreaper1996 1 year ago
@deathreaper1996
You can stop it by shutting down the damm PC 0_0
PhilipCanto 1 year ago
@deathreaper1996 well there are 10000 of vids in youtube about thios code. learn programming, this is noobshit =)
lukijuxxl 1 year ago
why you write " set input = " ??
don't use look
@echo off
:Password
cls
set /p input=Password (Input then press enter):
if %input%??Cheese (goto YES) else (goto Password)
:yes
start MSPaint
exit
Rankirishin 1 year ago
@Rankirishin to reset the variable... if you press enter, input has at the beginning the same value of the input before. allwas reset the value of the variable
lukijuxxl 1 year ago
you don't need this:
set input=
you can simply enter set /p (anything)=
:D
Lacihun1 1 year ago
@Lacihun1 reset-.-
lukijuxxl 1 year ago
@lukijuxxl
? reset? reset what? I dunno what're you talking about XD
Lacihun1 1 year ago
@Lacihun1 reset the value of the var "input"
lukijuxxl 1 year ago
@lukijuxxl
Lol yeah :D I know now :D just didn't know what you mean in reset :D
Lacihun1 1 year ago
Should of put in
:password
cls
So i keeps cleaning the screen, also a shame you can't find a way to make the letters
IIUKBlitzII 1 year ago
@IIUKBlitzII Masked not make
IIUKBlitzII 1 year ago
I doesn't work correctly. If i type the correct password, then it will open a new cmd with the same question. If it's wrong, then a normal cmd will open.
MoviesMomentsAndMore 1 year ago
Si les interesa este tema, yo tengo un blog donde publico tutoriales, videotutoriales, e incluso programas, la dirección es tecnologiapasionante.blogspot.
94MDK 1 year ago
Thank you this really helped me! :)
Kylurr 1 year ago
It can't find it and iv been trying to set C:\Programs\Cheat Engine but it isnt opening!
TheMelissaBoy 1 year ago
@TheMelissaBoy c:\users\(your account username)\desktop\cheat engine\
THERE YA GO YA DUMBASS! WHY AM I THE ONLY ON EWHO NOWS HOW TO FIX THESE DAMN PROBLEMS!
kiddaxter123 1 year ago
I have a question...can't peopel simply hit 'edit' when right click icon and peek at password, then proceed to type it in the command prompt?
UncleBlizzard 1 year ago
@UncleBlizzard yes they can thats why you should change your bat file to an exe just google "batch to exe converter" that will make it unhackable
waterdragon1908 1 year ago
@UncleBlizzard i know thats what i thought!
kiddaxter123 1 year ago
Check out my videos!
jankothe31 1 year ago
This is all fine and great, but the problem is that when the password window pops up, one can simply exit out of it by clicking the X... how do I avoid this?
3Sciencenut 1 year ago
how do you get a bullet point please?
ELECTROWILDSTYLE 1 year ago
who knows how i can make from notepad file a .bat file ????
yugenius 1 year ago
@yugenius File > Save as make sure the drop down box is selected as all file types not .txt and save it as whatever.bat
bradjoe96 1 year ago
This has been flagged as spam show
Thx,
you helped me a lot
masterdeathman 1 year ago
This has been flagged as spam show
Thx,
you helped me a lot
masterdeathman 1 year ago
Comment removed
masterdeathman 1 year ago
is that it
ziggedyfilms 1 year ago
can you replace MSpaint with any program or EXE file?
travisrcool 1 year ago
thank very rthank first i do just a display now it have a password. and i just create it have username to.very thank man cool.
reegg96 1 year ago
thanks man awsome tut :D
johnlier1000 2 years ago
great tutorial ive never thought of setting a password like that!! thanks so much!
111tim111lol 2 years ago
how can u hide the password inputt?
Comanderrick 2 years ago
i thought youd pick cheese and i was right holy crap
funzjake 2 years ago
franshuntink 2 years ago
@franshuntink Your code does not work fully...Once it has echo'd "YOu made it!" it just follows through to the :Fail label -.-
JowshUKproductions 2 years ago
Thanks for the Post!!
Handstalker 2 years ago
This is just an example.You can make very complicated programs with batches.
PznRen 2 years ago
This does not password protection anything. They can just open up paint. All it does is make you put in a password for no reason. Even if you say that it puts a password on, you can just Right Click>Edit and find the password.
Fr34k1nhax0rs 2 years ago