Batch Files Continued Part 2

You need Flash player 8+ and JavaScript enabled to view this video.


-

[ Full Screen ] [ See on Youtube ] [ Download (?) ] [ Subscribe ]



Watch Here
Watch on YT

Time: 8 min
Rating: 4.92 / 5
Views: 17479
Rated: 185
Talk:
Faves: 71
Video Description
Batch File Examples
http://www.buildquiz.com/batch.zip

Introduction to Batch Files
http://youtube.com/watch?v=rhV4L3T3BMc

Comments:

lakercoolman: Wow, Great video jimmyrcom great bat file tricks u do stuff no one rly does thats wut i like and it draws great attention rly useful i like the menus option that allows u to go to programs using the list i use it alot know xd great vid keep it up

Dougien: Another great usefull video, 5 stars :)

jlumley: jimmyr is the reincarnation of jesus christ

moebob24: very helpful...thanks for widening my knowledge on .bat files...

dstrbd123: is there a way to right click and make a new batch file instead of making a text file and changing the extension? Vista likes to be a pain in the ass and i can't change the extension unless i change it in the properties or change it with save as.

jimmyrcom: google Windows new command add

Menox13: Hey Jimmy. Love your video's! I have been a subscriber for a while now and appreciate your work! one thing that doesn't work for me is adding the context menu. there is no directory
for "Shell" in regedit. there is "shellex" but no shell.

jimmyrcom: just right click and make new key called Shell

z1234567890abc: I hope some day I will learn half of all this stuff you post Jimmy R then I will be more proud of myself because of you! thanks teach.
hole e cow!

ssj2VolgZ: the introduction part was kinda confiusing becaus i didnt know what it was all about but when this part came in i get it all, thanks man

NobbyzNutz: jimmy i luv u man u r the greatest geezer ever even though ur american but hey who gives a crap i luv u man

NobbyzNutz: thats awesome man

but seriously keep up the gd work cos i luv u man x

joesalad21: How do you know all this stuff?

Onwlyix: Haha. cow. Calculator. Cowculator! xD

jackH1337: Do pause and goto have to be case sensitive?

edualfred: great video!!! i just got a question: do u know how to change the icon of a batch file? Is it possible? If so, how can it be done?

jimmyrcom: make it a shortcut, shortcuts can have whatever icon you want.

edualfred: thank u a lot for ur answer ;) but i've got another question: since i can't send only the shortcut to a destination, 'cause it will need the root file, how can i send the batch file with the icon hidden by another one?

killroy7777: Well edualfred, the thing your trying to do would be considered illegal in 2 ways,
1- sending a batch file
2- sounds like a virus its illegal
sorry sending batch files are mejorly illegal

killroy7777: Actualy yes, goahead check the booklet that came with your pc, actualy read something, sending .BAT (Batch) files is illegal and can result in a harsh fine, and or other things.

01985217681: Your immense!

MORE MORE MORE MORE!!

bigman148495: I want to make a batch file that searches my computer for pictures how would i do that

CKyzOnLy: omg. i like totally understood that!, hah i dont understand much even in school:P

stealth485: you helped me so much!!! i saw this vid about....2 - 3 weeks ago and i made a huge batch file kinda like your virtual dub but more. i live your vids

mega711: How do you make more than one line of text on the menus? Like have something like:

Type 1 for etc
type 2 for etc
type 3 for etc

every time i try it reads the first line of code but nothing else (even with quotation marks).

x3ICEx: echo type 1 for etc
echo type 2 for etc
echo type 3 for etc

You just begin all lines with an echo and it will work.

xxEximiousxx: Check out my animations, they rock. Subscribe to get more.

Dieuslyx: i pronounce you king of internet

jimmyrcom: it's completely different from java in every way, and it's not a programming language.

FeedMEBabies: it's a lot closer to actionscript than Java... Java is one of, if not the hardest language in the world.

JordiFeyenoord: Thanks for posting your videos Jimmy there very helpfull ;)

UnrealGTAS: Very useful but so boring lol. Thanks again jimmy.

thec0o0lest: C++ is much more easy then java but java is also easy in its own way with polymorphisme , inheritance and interface and blablabla ......

nemesisrobot: C++ easier than Java? I don't think so.

manavnirvanafreak: Jimmy u god or something.....me from india doing Btech in Cse.....keep up the good work....may god bless you

wesnr: nice but there are more advanced thing you can do whith cmd

thehornyhobo: OK i have a question, my list has three things it can open, well if i hit 2 it opens 2 and 3. Anyone know why?

btw: great vids and very informative, got my subscription.

calrogman: Remember to put exit after each command

thehornyhobo: thank-you, i had already figured it out but thats what i did. I kept trying pause instead...

calrogman: How would i make a list of several programs with a new line for each item on the list

Guncon3: Thank you so much i am having tons of fun with the new things i can do 5*'s!!

jedixo: u dont need the cls
if u put @ at the begining of any command it does the command without you seeing it

yotubevid: Thanks you so much!!! These batch file tutorials are the best on the web!

HarryPitfall: you can also use "set" to evaluate expressions...

@Echo Off
Cls
Set /p Value=Type the value:
Set /a Value=%Value% * 2
Echo The Double of The Value Is %Value%
Set Value=

dvelzzz: man u like jsut saved so much space on my desktop lol and so easy find files im cheaking out like all ur vids well not all cos there like wat 108 of am so lol

candymanmanman: Thanks for the great tutorials Jimmy, I've already used this for some programs. But I've run into a problem and was hoping you or some other viewer could help me.

@echo off
cls
"C:\Program\Warcraft III\Frozen Throne.exe"
"C:\Program\WC3Banlist\WC3Banlist.exe"
"C:\w3hph.exe"
This is to make the game Warcraft3 open with banlist and the addon "HPH". The problem is, if HPH is last, it wont start until I shutdown banlist and WC3. And if it's first, nothing else will start until I close HPH.Any idea?

Jeremy56x: I am pretty new to bat files but i was messing with them and i found a way that might work for you. I do not have WC3 but i tested it with some other programs and it works so here is the code if you want i just used the directories in your comment.

@echo off
cls
start "Title1" "C:\Program\Warcraft III\Frozen Throne.exe"
start "Title2" "C:\Program\WC3Banlist\WC3Banlist.exe"
start "Title3" "C:\w3hph.exe"

candymanmanman: Thanks for the help Jeremy, It worked like a charm :D
How did you figure out to use the "Title1/2/3"?

Jeremy56x: Umm you can name them what you want it just starts a new command prompt window with that title i think. I was just messing around with them and found that out

S4l4m1: Good Tutorial ;D

Helped me a lot

k13ransgames: Awesome tutorial! thanks a million you sure know your stuff :-)

sk8rz21: lol u own :D you no much on flash action script or mIRC scripts :D?

FENECH1992: Is it possible to lock out the 'exit' command(or the cross in the top right of the screen)?

engl4nd24: Awesome Tutorial!
Very useful!

guidogast: how do you do trhe points at the end that youtube logo...

DawnValorum: Password for your batch

@Echo off
:B
set /p pas=Please type your password:
IF '%pas%' == '(password goes here)' goto A
goto B
:A

roywilliams61: Using Win2k on line 11 @time 3:18, the path needs to be enclosed in parenthesis for it to execute. It could be different on other OS's, though. Great video otherwise.

primeaux1992: man thanx for this i can save all kinds of files on command promps without anyone knowing what it is

KinkYBQY13: Hey guys , i am trying to make a batch file that will automatically download things from rapidshare when i am not on the computer but i dont know how to make the batch file"click on download" and wait 80 sec . is it possible to do that?

BartXZX: Awsome video man, 5 stars :D
Kinkybqy13 you could use the "sleep" command
but sleep.exe does not come with windows XP.

jimmyrcom: you could enable hibernation and use shutdown /h. Not quite the same but blah.

BartXZX: Lol, you could but its not the same indeed.
Btw your voice is very nice to listen to, you know? Some video's have tellers with a voice that's not nice to listen to.
And that %var% is something is REALLY! needed, because I wanted the user to type in the process they want to kill and that's where that is come in handy.

Thx again,
iFox

diozakrod1: Does anyone know how to make multiple inputs select the same goto?

for example:

if '%choice%'=='aud' or 'audacity' goto audacity

see, I'd like to make it possible to type either "aud" or "audacity" and have both of them select the same goto.

(i know multiple lines, both pointing to the same goto would accomplish this, but I'd like to have as smallest amount of lines as possible)