 Hey, what is going on guys? Ruthenell here come back at you with another batch tutorial I'm gonna get the Windows command line fired up right here Bring it right down so you guys can see it and let's get to let's get to some good stuff here Actually before we get things started. I think I will fire up notepad plus plus and create a new batch script Now if you guys remember how to do this, we're gonna save a new file In my case, I'm going to save it in my current path, which is in C It's a users John Hammond, and then that's all really neat. I'm gonna change this to a simple I'll call it file dot bat Okay Now if we dir inside of our console, we'll be able to find this file dot bat is right here. Okay So now we're gonna be looking at echo now if you guys remember this command I think I kind of slipped it into another video on accidents But echo is the program or the command inside the batch scripting language It's gonna allow us to display things display information display variables display text display strings really anything So let's go ahead and do just that. I'm gonna create a variable first thing. I'm gonna set Let's see. I'll zoom in just a little bit so you guys can see this too. Okay Now if we set string to equal hello there world Now if we type in echo, which is our command remember we're using and we'll pass in the value here of string Now if we go over here and run this I think I called it file it's going through Set string goes hello there world so it sets the variable and it displays it and there it is hello there world Now there are a little bit of interesting things here because remember we could have passed in these quotation marks Like you would normally do with the string but when you run this remember String variable interprets it along with echo and the displays those quotation marks, which we don't really want So we're not gonna end up using those but what if we didn't actually display the string variable? What if we actually just display it hello there world, so we're not using the string variable anymore We're just actually using the text hello there world and there it is But if we pass in those quotation marks one more time, it's still gonna interpret them So we're not gonna actually use those with echo like as normal with match We're gonna try and avoid those quotation marks when we're working with a string But they're a little it's a little different to echo is definitely quirky compared to a lot of other programming languages And it's strange So let's actually look at a whole nother thing though because you kind of need to be able to Create new lines, right? What if you just wanted to be able to have a little bit of white space in your program, so? I'll use a command echo and What if we just echoed absolutely nothing? If we run file and it's running apps it's echo nothing out all it tells us is echo is on Okay, that's a little weird. What does that mean? Well, why don't we take what don't we talk about that a little later? The real thing that we're doing here with echo is when we're trying to display a new line We don't actually pass nothing to it What we actually do is we put a period at the very end of it and when we do that It'll display a blank line. So see this gap right here. That's actually a blank line that's displayed Now if we were to echo without if like if we use the space and then follow after the echo And then we put the period it'll actually display a period So echo is definitely quirky, you know batch is quirky to begin with it's just a little weird But we can just do a couple more of those things But remember if we didn't use that it would display echo is on which is a little as little strange We're gonna have to take a look at that in a whole nother video But that's really all there is to it with echo. You're just displaying information whether it could be the string variable that we're passing to it It could be a variable that we're actually passing to it like I just said Or it could just be some plain old text. It could be numbers one two three four five We can run this I'll get rid of this echo line. We don't really need it And if we ran that it's displaying one two three four five But remember it is treating this as a string not the number 12,345 so there's some pretty interesting things that you kind of have to keep in mind with echo It's it's it's very strange But once you get the hang of it in batch once you get the hang of everything in batch It kind of makes a lot more sense and you can really get her you can really get around a lot of the quirks But that's all I wanted to show you in this video something real simple Just the echo command and you can use this in your shell. Obviously. This doesn't have to be inside the command line So if we do echo string We get hello their world so there you go Thank you guys for watching. I hope you enjoyed this. I hope I didn't screw up too much and you know Thank you guys for watching if you could like the video that'd be fantastic if you could leave me a comment I would really really enjoy that I absolutely love hearing from you guys What you want to see how you enjoying the series so far if you actually are enjoying the series so far that sort of thing and You know, maybe subscribe if that's what you want to do by all means do your thing But I'll see you guys in the next video. Goodbye