Batch Files Continued Part 2
You need Flash player 8+ and JavaScript enabled to view this video.
Instructions & Additional Information
Batch File Exampleshttp://www.buildquiz.com/batch.zip
Introduction to Batch Files
%%programming
Video Information
Video Duration: | 8 minutes 0 seconds |
---|---|
Release Date | 2 years 153 days 22 hours 13 minutes 39 seconds |
Rating: | 4 |
Favorites: | 127 |
Total Comments: | 137 |
Times Rated: | 250 |
Total Views: | 31606 |
Keywords: | batch, files, windows, dos, applescript, commands, bat, tricks, command, examples, example |
Comments
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.
sivi1234 also instead of IF '%var%' == '1' GOTO calc I think you can type this in: if %var% == 1 start /b "C:\WINDOWS\system32\calc.exe"
FrozenAnarchy @Molbs100: When you issue a command, DOS will execute the command and also post a message telling you what it's doing. Nul makes it so it doesn't post that message. For instance: ---------------------------------- ping localhost -n -5 >nul ---------------------------------- ^Instead of showing you the results of the ping, it'll ping localhost but never display the results. You just get a blank line.
Molbs100 Very good code but...what does nul mean and do?
dummshapeshifter the %s around variables basically mean 'the value of' so echo var would type var echo %var% would type the value of var
CrazyMonkey124 start calc Shortest.
jeroenluuc great video's man, I'm a noob, but this is very clear and usefull!!!
ThExR3V0LVER At 6:09 he said cowculator instead of calculator XD
NeedForMadnessSVK cowculator lol
battletoadsonmynes or you could just use @echo off start calc.exe exit
PineHack sup i've been working with batch for about a year and i've pretty much mastered it so: you cant make calculator open when firefox is clicked (you can make a batch file that makes both though) and those codes dont work in applescript: applescript is a liitle more complex than batch files, for example: echo is a a batch file command display dialoge(or dialogue) "" does the same thing as echo but it is applescript, and doesnt print in a command console but a dialogue box.
VisualExpress the batch file would need to be runnning when the user would run firefox
Fortyn9n3 how do i make a batch file that will open a certain program when another program is opened? ex: when the user opens firefox, then run calculator also, do these codes work in applescript? what program are you using for this? Thanks
AwesomeEraserz Oh, yeah. You have to type 1.
AwesomeEraserz Here is a code that will also start calculator. I made it. @echo off cls set /p var=Type 1 to start Calculator: IF '%var%' == '1' START C:\windows\system32\calc.exe
11wesley11 thanks this vid helped me a lot.
MaDDaViD123 Gosh ¡ʇɐǝɹƃ sı ǝןıɟ ɥɔʇɐq sıɥʇ
GreenSwordsman45 The cls goes INSIDE :A , Otherwise its restarting outside of :A so it keeps making an untidy question. (as most of you are commenting) Fixed: @echo off :A cls set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==y echo ok! hello %name% if %yesorno%==no goto A if %yesorno%==n goto A pause >nul goto A I added "y" and "n" tags so they are accepted.
SCRIPToHELPER PowerShell
meteonyker wtf is wrong with youtube X_X
meteonyker :fullname set /p uio= so your name is %first% %last%?(y/n) if %uio%== y goto :rn if %uio%== n goto :restart2 :restart2 echo fill in your right name please pause cls goto restart :rn echo lol gay name XD!!! echo press any key to exit pause > nul
meteonyker here's a fun way to ask for a name it's in 2 parts cause youtube is acting al wierd n stuff :restart echo could you tell me your name set /p first= what is your first name? if %first%== %first% goto :lname :lname set /p last= what is your last name? if %last%== %last% goto :fullname
sonicmonkey123 I like how batch files are very similar to BASIC, even though BASIC is pretty much obsolete now.
MosaHadisha Anyone Knows How To Make A Bat File And A VBS File Together?
aajgee Yours Dosent Work, This Is A Remake Of The Bottom One, It Works ! @echo off cls :A set /p name=how do you want to be called?: set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 this works too ... @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
knutervalve64 took me directly back here man ..ʎuunɟ ooʇ
xmodrock wasn't that one it was one to clear out the memory so that your comp would run faster...
knuckleblaster o i know that i saw one in a different video and i was getting ready to run it till i noticed the word format and the type of hardrive so i didnt run it.
xmodrock yea he put up a batch script thing and i was dumb enough to make it into a batch and run it.. it fucked up my gaming PC big time...
knuckleblaster o ok
xmodrock i know i was talkin to a kid but his post was removed..
knuckleblaster lmao ooook..... this will not slow down ur computer i have like fifty bat files
miniblackshadow this one should be better? @echo off cls :A set /p name=how do you want to be called?: pause >nul set /p yesorno=so you want to be called %name%? (yes/no) if %yesorno%==yes echo ok! hello %name% if %yesorno%==no goto A pause >nul
victorfan12 What's wrong with this code? I have everything setup that could be called up in the batch file but this isn't working. :NameConfirm cls echo ))So you wish to be called %Name%? (Y/N) set /p var=Option: if /p '%var%' == 'Y' goto CharacterSetup if /p '%var%' == 'N' goto SecondName pause >nul goto NameConfirm
juplm4000 i got same on vista
juplm4000 it shouldent
gravizt he has xp. its a setting that makes it look like windows 2000. makes the computer use less ram.
xmodrock hey you jerk WTF does this do... my pc is running really slowly now!!!!!!
xmodrock this was for kefs41
xmodrock this didnt do anything when i ran it on my pc
xmodrock go to hell no one here wants to hear you
xmodrock is it vista or XP?
xmodrock ok you need to get a mac or at least XP
xmodrock i wanted to put msword in my context menu like the one you made but i cant find the executable file.... do you know where it is located?
cjx20 Jimmy R My computer does not run Variables? Whats wrong??? Colin
kefs41 you suck!!!!!!
astralplateau hey jimmyr, first of all, all of your videos are wonderful. my question is, how can i invoke the batch programming in vista?
xXjose130Xx try this code: @echo off cls echo %random%random%
vangk0 Fucking vista is part of this corruption in our economy I wish all the people who thought of this program will get cancer and die really slowly! ...Than all the money will rain back to the people who bought this virus! .....You know Microsoft is competing with Mac I understand? Why but they use us as a tester. ThatsFucking BAD" We are bugs to them! The computer is not made for us!! Its made for theFuckers who made this Windows vista! KILL THEM KILL KILL KILL!!
heatflame999 Hey how would I make my batch file that opens a Image a JPEG image to be more specific. And also how would I make my batch file so that if who ever is useing it doesn't type one of the choices I put it says "not a valid command" or something and not just go to the next line of my bacth file.