hey what is going on guys root of the N here come back at you with a little bit of you know batch tutorials uh I'm actually root from no shell.com if you guys haven't heard of me and uh Nosh show.com is my own domain it's my own website where I post a lot of uh code um 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 uh hey that's enough self-advertisement let's get to actually what you came to see the video for all right so we're going to 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 going to be doing now um if you're on Windows 7 like I am I'm going to 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 uh that'll get this little program right here called CMD and you can bring that right down at least I'm going to 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 going to be working in so uh I'm going to show you some different ways to get this open though um 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 uh see if you look up at the top here you can see uh the administrator because I'm running this as the administrator C Windows system 32 and then cmd.exe now CMD is the command that we 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 it's actually running that program and uh now this goes by a whole lot of different names if you actually started up this uh this search bar again you typed in uh command prompt the first thing up on your list normally would be 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 uh it can be called uh let's see the command prompt obviously it can be called a shell it can be called a console or like a terminal and uh those are normally the the NS the terms that I'll that I'll be using Mo most of the time because I just think they're a little bit more dorky dorky anyway and they're 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 where you can just type in commands and uh these commands or things that you normally be working with kind of Trace back to uh Microsoft Windows history if you look back on uh msdos you I'm sure you guys have probably heard of that Microsoft Disk Operating System now they Ed that it's called Doss at least that's normally what US Geeks call it and they use that back when they had 16bit processors or computer processors and back then they had an interpreter uh 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.com now now normally when you have a program that's written in batch or some of these DOS commands they'll end inom orbat for batch and that sort of thing so back when they had 16bit processors they were using command.com 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 um and maybe even 64-bit processors we're working with cmd.exe which is which is is a lot bigger and better it has more commands and the commands that it shares with command.com have more functionality and we can do more things with them so that's kind of the difference between command.com 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 um an interpreter is going to be that program that's actually going to interpret or read everything that you type in all these command or statements that you send to The Interpreter or this program in our case it's 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 a script because it's a scripting language what it's doing is it's sending that to cn. exe and it's reading it line by line and executing everything that it needs to execute one after the other now normally you'd hear that um against a programming language now a programming Lang language is I'm 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 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 JH SDA for whatever reason you can see that J JH SDA is not a recogn is not recognized as an internal or external command operat program or a batch file now remember internal and external commands are things that are built in to cmd.exe or command.com I give you a little bit more of that term so you guys know what we're familiar with operatable program or batch file now that's exactly what this command prompt lets you do it lets you run programs from within this shell or this console or this terminal and uh 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 and uh 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 this 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 uh actually before I get going I guess I'll show you guys uh if you actually look right back here at cmd.exe remember how I said it started up in here C window 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 C windows and then system 32 now in this location in your file system there are a whole lot of uh 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 prompts by default this is the system path and we're going to get a a whole lot more about that later in other in in 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 oh if I actually hit the right key sorry cmd.exe there it is right here and you open that file location you can see where we're in see Windows system 32 and there it is right there CMD so this is the default path that'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 it a 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 wanted you guys to be able to know what it is that we're going to be talking about in the 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 uh thank you guys for watching I hope you enjoyed this and I really hope to see you guys in the next video bye