Added: 3 years ago
From: bananafruitsalad
Views: 66,760
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (316)

Sign In or Sign Up now to post a comment!
  • bau halt cls ein

  • Yes, its work!! (:

  • YAY it worked

  • that should work until someone right clicks and left clicks "Edit"

  • Thanks! I've been looking for this almost everwhere on the internet. This is awesome.

  • what does cls do? and nice music by the way!

  • @thebeanokid cls clears the screen idk why he choose to do that in the beginning because its not needed

  • Hmm .. You can also just click on X or just put the enter button ...

    But it can be fun

  • 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
  • what is the name of this song?

  • Cool!!

  • mine say's windows cannot find 'MSnotepad.exe'. Make sure you typed the name correcty, and then try again.

  • @ghostCAM45 Don't type MS in front of it :)

  • Batch is one of the easiest programs to write in, hail to Microsoft the owner of our base

  • Awesome Thanks! But is it possible to block the program it opens so you HAVE to know the password to use it?

  • thx man! ur awesome~

  • its weird actually seeing someone on youtube use windows

  • @mzmet2001 Huh? Youtube is used by all OS's....

  • XM.?/

    KING'S COUNSEL

    SEALED

  • NICE! thx! :D

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

  • 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 You can use any variable, he just used %input%.

  • 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

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

  • Comment removed

  • Very good ... :D thanks ...

    Could u pls explain the meaning of these program functions like : set /p , %input% , what is % ?

    Thanks

  • another notepad tutorial: /watch?v=PG5rRWL6SPg

  • THX This help me find what I want :-D

  • Thumbs up for Star Wars style :D

  • thx man searched an 1 hour 4 this

  • thx 

  • I Remember the old times with the DOS games !! funny.

    Recuerdo que llevaban bat los juegos para elegir placas de video

  • WAO , EXCELENTE VIDEO , MUY UTIL, TE FELICITO

  • How can I make it something other than paint? I want to open a notepad file with a password.

  • @CodCats you can put where the cde has paint the fille that you want (exaple C:\user\documents\mybatfilles\­passwprdnotepad)

  • where can one buy a copy of that song?

  • 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?

    

  • 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

  • it's a keylogger be carefull 

  • attention c'es un hacker un key logger lah in3lk al hmar t3lmti 2 l3bat o jay kat3i9 3l bachar

  • attention c'es un hacker 

  • 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

  • lol ... i guess you like cheese :d

  • Google

  • is there a way to make it "safe mode" like when you type in the password, its not cheese its ******

  • yo thanks a lot man now i could improve my files......

  • 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

  • so weird

  • It work when i copy urs word for word but when i tried doing it with another program it doesn't work. plz help

  • how to remove it???

    

  • for all of you who think you can just right click and edit just save it as .exe then you cant OK

  • how do u get the password without a username via notepad

  • Hey man that is verrrrry coooool!!!

  • how do i convert it to a folder not paint it would be eaiser if u showed that not paint

  • people can just right click and press "EDIT" and simpley read the password

    or just run the EXE strate LOL

  • This doesn't password protect anything.

  • @DieUSuperMonkeyFuck batch file stuff

  • fuck u??

    

  • Ehh... You can just go to programs and open it that way... Makes no sence?

  • Does anyone know what progamming language this is?

    Is it Assembly Code?

  • @DieUSuperMonkeyFuck look at title heres a hint its in the words "Notepad BATCH:" hmm what could it be?

  • Nicee!! make a security too xD

  • @Flubblemonkey Converting to EXE hides the password :)

  • It's more easy that:

    if %input%==cheese (goto YES) else goto NO

    ¿No?

  • Nice!

  • If the file to be oppened is 2 words, how do you open it?

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

  • ty....

  • 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 :(

  • nice, but can i make like :NO

    @Echo off

    attrib.............. and then virus code???

  • I want to change my User permissions with a batch file is that possible? if so can you show me how?

  • Disagree, you can change "See Hidden Files" in the file properties

  • 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 instead of start mspaint.exe just write start (then whatever your file is called)

  • How can i mask the password letters?

  • how would you make it open something different?

  • You type in that when you type in Three times the wrong Passwort that the pc shutdown or that the bat file delete itself

  • U must have Windows to do this!

  • 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 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 Thanks :)

  • ** 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
  • Comment removed

  • LOL THANKS! i password protected my sisters computer's ALL files :D

  • 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

  • Only shows "Syntax error"

  • Doesn't work on my pc

  • 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 :)

  • song is awsome!

  • lol batch fiile>right click>edit>look for password XD

  • @Flubblemonkey Fix, Compile it to .exe :D

  • True but theres many retarted people that wouldnt even think bout it @Flubblemonkey

  • @Flubblemonkey Convert .bat to .exe :D

  • @Flubblemonkey not if you convert it to an application

  • @Flubblemonkey or you could hide the batch file make a shortcut and disguse the shortcut as the actual program.

  • @Flubblemonkey convert it to a .exe

  • @Flubblemonkey thats what you convert it to exe.

  • @Flubblemonkey Thats when batch files to .exe compilers was created x) Sorry to burst ya bubble... really

  • @Flubblemonkey put the notepad doc in the folder you want to protect with the password

  • @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

  • @Flubblemonkey Bat to exe, FTW

  • You no it start mspaint if i wanted it to start a different program, what would i put ?

  • 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)

  • dude this is the greatest thing ever * i make batchs my self but very good video:)

  • 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

  • yay now i password protect all my porn yaaaaaaaaaaaaaaaaaaaay

  • @chrisames1

    hehe me too :P

    Thoumbs up for pooorrrnn =P

  • @chrisames1

    yey me too :P

    thumbs up for porn :D

  • @chrisames1 haha same here dude :D

  • @chrisames1 why protect your porn so your mom doesn't know you fuck with guys?

  • @chrisames1 lol wtfώ

  • @chrisames1 TROLOLOL!!

  • good song

  • set input is not necessary

  • Thank you i have this piece in my (Batch) Game and the Song is amazing.

  • Thankyou it worked

  • COOL but what do i do if i want it to open something what do i edit???

  • i just love doing stuff with my notepad

  • @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!

  • Cooool!!

  • i know how to get the password even if i dont know it

  • Problems on batch? Visit my clean, simple tutorials.

  • wow.amazing protection.now my files are finally safe.or NOT.moron.

  • @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!

  • I got a question... why did you put cls before the first directory?

    Lol... just wondering xD

  • @segun24 cls means new screen

    but it leaves commands as they shoult

    it just erases the screen for a new use

  • 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

  • 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?

  • 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?

  • 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

    You can stop it by shutting down the damm PC 0_0

  • @deathreaper1996 well there are 10000 of vids in youtube about thios code. learn programming, this is noobshit =)

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

  • you don't need this:

    set input=

    you can simply enter set /p (anything)=

    :D

  • @Lacihun1 reset-.-

  • @lukijuxxl

    ? reset? reset what? I dunno what're you talking about XD

  • @Lacihun1 reset the value of the var "input"

  • @lukijuxxl

    Lol yeah :D I know now :D just didn't know what you mean in reset :D

  • 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 Masked not make

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

  • Thank you this really helped me! :)

  • It can't find it and iv been trying to set C:\Programs\Cheat Engine but it isnt opening!

  • @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!

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

  • @UncleBlizzard i know thats what i thought!

  • Check out my videos!

  • 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?

  • how do you get a bullet point please?

  • who knows how i can make from notepad file a .bat file ????

  • @yugenius File > Save as make sure the drop down box is selected as all file types not .txt and save it as whatever.bat

  • Comment removed

  • is that it

  • can you replace MSpaint with any program or EXE file?

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

  • thanks man awsome tut :D

  • great tutorial ive never thought of setting a password like that!! thanks so much!

  • how can u hide the password inputt?

  • i thought youd pick cheese and i was right holy crap

  • 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
  • @franshuntink Your code does not work fully...Once it has echo'd "YOu made it!" it just follows through to the :Fail label -.-

  • Thanks for the Post!!

  • This is just an example.You can make very complicated programs with batches.

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