 Hey, what is going on guys root of the nail here come back at you with some more batch tutorials? I'm gonna get the windows command line fired up here bring this right down so you guys can see it and Let's get to talking. Well, let's get to let's get to see what we're doing here today Now today I want to show you guys a little bit more about variables and things that we took a look at in the last video now Well as you guys knew Variables are something is there or things they're able to store information or they're just able to keep track of really What's going on in our program? And we can we can use that to retrieve and store information and keep things really easy and organized for us now We created one of our own in the last tutorial We created a variable we called it var name and then we set it to something like how do you think now? The system or your computer or in our case windows or batch whatever you'd like to call it They actually store some of their own variables that they need to keep track of now We can access and manipulate these variables and make them do some pretty interesting things So I want to show you guys these and then and then I'll leave it up to you guys to be able to go explore and see What else you can do with these? So let's go ahead and type in set because set I showed you guys in the last video We were able to use set to actually create a variable But we're also able to use it without any variable name or anything after it and what it will do is it will display All the variables that you've actually created so far So if we display set and we haven't created any variables on our own remember if we type this in We'll be returned a really long list of all the system variables that windows keeps track of So we can use our scroll bar to actually scroll back here and look at all these things And these are all some things that are called environment variables because these are variables that are stored in the environment Now we've got look at look at right here all users profile is equal to a C program data There's like app data, which is a file system path and we can keep track of things there Here's the home drive. Here's the home path where all your things are stored Number of processors that sort of thing let's see Program files It actually displays the the file system path. We have the prompt and everything We've got the user domain even the even the username We've got the computer name and that sort of thing. So if we actually went ahead and put in computer name It'll return Windows is not recognized an internal optional command because remember it's replacing Everything that's wrapped inside at least a variable that's wrapped inside these two rents these two percent signs here So take a look at that though now if we created our own variable We'll call it var name again. We can set it to howdy just to keep things in order and if we run set We can see var name is right here. I'll select this for you guys. You guys can see it Var name is right here. We've created it. So it's said is going to keep track of it Now said is also pretty interesting that and that we can see Okay, okay We can set things and if you give anything to it It'll actually display things that start with that letter So we can just type in start set var and anything that's any variable that starts with var is going to be displayed And in our case all we have is a var name equals howdy if we did set like let's see user It's gonna display the user domain and the user name and the user profile and that sort of thing It's gonna display everything that we've created But these things can be really easy to manipulate it because we can set these variables to be whatever we'd like And in fact, let's do just that Let's set again so we can see some of the things that we're gonna working with and one that I want to show You guys is something called the path now. Remember I showed you guys the windows System 32 that's the default path for windows. This is where all the windows programs and executable files are actually stored so if we created a program or all on our own or we actually downloaded something that we want to be able to have access to in the In the command line or in the shell in the terminal in the console, whatever you'd like to call it We normally would just have to type in the whole file system directory So if we want to get into like see program files and then let's say, I don't know Maybe program name and then we ran program name bin and then we went into program dot exe We had to type all of that out what we could do was we could actually put that inside the path variable Put that whole file system path and then we just had to type in the program name And it'll run that because it doesn't have to actually have to have the the path anymore because it's saved in the path variable It'll look and anything inside that path variable as to where it's going to be finding these executables So we'll manipulate that in another video But I did want to be able to show you guys hey your file system your computer actually stores a lot of information that you have access to now and You know we're gonna be working with that a little bit later And it's cool to be able to understand these things and at least know what you have access to Because they've given it to you as a variable and you can still just you can still even see some of the things that you create You can keep track of what you've created if you if you don't know But thank you guys for watching though. Just some environment variables for your faces And I hope you enjoyed this and I'll see you guys in the next tutorial. Bye