Hey guys this is Eddie the Magic Monk welcome to another technology tutorial
today I want to introduce you guys to Microsoft DOS commands now you might be
asking or what are they and do I need them while back in the old days before
Microsoft Windows there was an operating system called
Microsoft DOS and basically it was just Windows without any sort of graphical
user interface so you couldn't drag and drop anything and basically everything
had to be typed in on the keyboard so for example if you wanted to go to a
certain folder you had to type that in if you had to run a program you had to
type in the file name of the program and so on so you might ask well why do we
need to learn that now now that we have Windows and for those Apple users now
that we have Mac OS where everything is done with the mouse why do we need to go
back to Microsoft DOS commands and that's because when you encounter a
problem for example let's say your hard drive space has run out or your computer
is infected with a virus and all those sorts of problems it's a lot easier to
fix when you have some Microsoft DOS knowledge so how do we get into command
prompt that's the first thing we'll go through so basically all you do is you
right click on the bottom left hand corner of your windows 8 and you click
command prompt admin so you click that and then do you want to allow this
program click yes and then you are in Microsoft
DOS which is run under administrator mode command prompts ok so here is where
pretty much you can do everything like you did in Microsoft DOS back in
nineteen ninety three or four or whatever ok so another thing you want to
know is if you weren't in Windows 8 if you were in Windows 7 you can also go in
to it through clicking the start button and then clicking run and then type in
CMD and then press ok and you can also get into command prompt that way just
make sure that when you go into it that it says administrator access at the top
of the title bar because you kind of need administrator access if you want to
do anything important ok so now the first thing we'll do is learn how to
change folders you can see that right now
we're inside the windows folder and we're inside the system32 folder within
the windows folder so normally if you want it to get into this folder you
go to Windows Explorer go to C Drive windows and then you would go to system
32 you go into it that way right but here in dos we this means that we're
already inside that folder so if you want to get out of that folder if you
want to go back up one level you would type cd.. and this represents
that we've just got out of the system 32 folder and if you type cd.. again
you would then go back up one more level and now you're in the root folder so
what if you want to get inside the windows folder again you would type cd
space windows by the way cd stands for change directory and then if you want to
get into the system32 folder you would type cd space system 32 so now this will
get you out of the folder and this will get you in the folder okay the next
thing you guys need to know is what if I want to jump back up two or three
folders I'm not going to type cd.. cd.. instead of typing it twice I can just
type in cd\ and that will get me out a lot quicker similarly if I want to
go inside system 32 instead of typing 2 cd comments I can just type cd space
windows\system 32 and I can get inside that folder really quickly okay
so what can you do once you're inside the folder well you can type dir which
lists all the files in that folder or in that directory now you can see that it
lists all of it in one column and if you want to list the files sideways you can
type dir space/w and that will list the files oh it used to anyway
listening more horizontally but
now it doesn't now just list them without any file info so anyway or you can also
type in dir space / s and what that does is not only does it list all the
files in the system32 directory it'll also list any files in any folders
within the system32 folder so all the files in the subfolders so if you type
that you can see that a lot more files come up and it has listed all the files
within the subfolders of system32 and you notice that at the end of it it
tells you how many files there have been listed
how many folders there are and how big the files are in total and how much
space we have left right so we have 35 gigabytes left ok so this concludes our
first tutorial I'll see you guys next time.