 Hey, what is going on guys root of them now here come back at you with a little bit of you know batch tutorials I'm actually root from no shell.com if you guys haven't heard of me and no shell.com is my own domain It's my own website where I post a lot of code Some videos some animations some projects that really I myself Associate with and I kind of like to just put up online so other people can see so if you guys haven't I definitely recommend you check That out, but hey, that's enough self-advertisement. Let's get to actually what you came to see this video for All right, so we're gonna be looking at the windows batch and batch is a scripting language And I'll get to more on that later, but actually let's get the window open first Let's show you guys what you're gonna be doing now Um if you're on Windows 7 like I am I'm gonna be recording in Windows 7 throughout this whole series what you can do is you can hit the start button right down the bottom left of your screen and type in cmd and That'll get this little program right here called cmd and you can bring that right down At least I'm gonna bring it right down so you guys can see it and here it is This is the the big black box that you're always gonna be working in so I'm gonna show you some different ways to get this open though There's the windows key in R when you hold down the windows key you can press the R button and you can just type in cmd and See if you look up at the top here You can see the administrator because I'm running this as the administrator see windows system 32 and then cmd.exe Now cmd is the command that we just we just typed in and that's exactly what it's Interpreting it as it's going to run cmd and that's what this windows key in R is it's actually running that program And now this goes by a whole lot of different names if you actually started up this this search bar again You typed in a command prompt The first thing up on your list normally would be the command prompt and that's exactly what it is that we're working with now This box here this window has a whole lot of different names. It's actually it can be called Let's see the command prompt obviously it can be called a shell it can be called a console or like a terminal and Those are normally that the nerves the terms that I'll that I'll be using Most of the time because I just think they're a little bit more dorky dorky anyway, and they're kind of fun to say But yeah, this is what we're going to be working in now You might have heard this sort of thing before because this this looks pretty familiar to you, right? It's just a big black box. You can just type in commands and These commands or things that you would normally be working with kind of trace back to a Microsoft Windows history If you look back on a msd os you I'm sure you guys have probably heard of that Microsoft disk operating system Now they use that it's called DOS or at least that's normally what us geeks call it And they use that back when they had 16-bit processors or computer processors and back then they had an interpreter Which I'll I'll talk more about interpreters very soon But I want to introduce this theme to you because it's called command comm now normally when you have a program Which that's written in batch or some of these DOS commands They'll end in comm or dot bat for batch and that sort of thing so back when they had 16 bit processors They were using command comm which was a lot similar to cmd.exe or cmd the thing that we're going to be working in a whole lot so now that we've moved on to 32-bit processors though and And maybe even 64-bit processors. We're working with cmd.exe Which is which is a lot bigger and better It has more commands and the commands that it shares with command comm have more functionality and we can do more things with them so that's kind of a difference between command comm and cmd.exe, but you're going to hear those terms a whole lot Now the next thing I wanted to talk about is the fact that it's using an interpreter and that's kind of what I was saying An interpreter is going to be that program that's actually going to interpret or read everything that you type in all these Commands or statements that you send to the interpreter or this program in our case at cmd.exe It'll execute them one at a time So when you have a program that we've created that let's say we've wrote out a batch script We're going to call this script because it's a scripting language What it's doing is it's sending that to cmd.exe and it's reading it line by line and Executing everything that needs to execute one after the other now. Normally you'd hear that Against a programming language now a programming language is going to be using a Compiler and a compiler will take all the source code and all the all the things that you've written the the written code And that's going to compile them into zeros and ones actual like hardware Program so that your computer can understand it So you don't actually get to see the source code in a compiled program, but in a batch script It's only a script it's going to be executed by a different program not the program itself Now that might be a little bit hard to wrap your mind around But if you've if you've seen a lot of other scripting languages like Python Which is one that I definitely recommend and I've actually I actually have a tutorial series on you can definitely check that out I'll recommend that a little bit more self-advertisement But yeah, that's what you're going to be working with and batch is a scripting language And that's really the point that I want to get across to you guys in this video Now if we take a look at what I actually typed in here jhsda for whatever reason you can see that jh Jhsda is not a recognized is not recognized as an internal or external command Operatable program or a batch file now or member internal external commands are things that are built in to cmd.exe or command comm Give you a little bit more of that term so you guys know what we're familiar with Operatable program or a batch file now. That's exactly what this command prompt lets you do it lets you run programs from within the shell or this console or this terminal and You would type in the name of the program as long as it's in the system path where you can you can see these things and It'll run them and that's exactly what it's going to say here with the batch file the batch The batch file is a sort of like a list of commands or statements that cmd.exe is going to interpret and then go ahead and run So that's what we're going to be working with in the series We're going to be we're going to be creating our own batch files and learn a whole lot more about the language So actually before I get going I guess I'll show you guys If you actually look right back here at cmd.exe Remember how I said it started up in here C windows system 32 and then cmd.exe So let's go ahead and show you guys that I'll get explore open And I'll sort of move this a little bit so you guys can see what it is that we're looking at Okay, and now we'll go to that same path that we just saw see windows and then system 32 Now in this location in your file system There are a whole lot of DLLs or like programming libraries There are a whole lot of programs that you can actually run and these are all things that you can call from inside the command prompt by default This is the system path and we're going to get a whole lot more about that later and other and later videos But when you see that cmd.exe we can actually look for that right in here because that's where it is if we type in cmd if I actually hit the right key sorry cmd.exe There it is right here You open that file location you can see where in see windows system 32 and there it is right there cmd So this is the default path It's going to be looking for all the programs that we're going to start running inside the shell And I'm going to keep calling to the shell because I want you guys to be a little bit more acquainted with that terminology But I hope you guys enjoyed this introduction video I want you to understand that it really is an introduction video So I'm sorry we didn't actually get to uh we didn't get to write any code But I want you guys to be able to know what it is that we're going to be talking about in this series And you guys can be a little bit a little a little better off, you know, you know what I'm saying But all right. Thank you guys for watching. I hope you enjoyed this and I really hope to see you guys in the next video Bye