Hey guys this is Eddie the Magic Monk. Welcome to another technology tutorial
our last lesson we got started with the command prompt in Windows 8 so if you're
not sure how to get into the command prompt and you're not sure how to change
directories or list files please go back to our last tutorial so the first thing
I want to talk about is when you are doing some sort of action in the command
prompts for example if you type dir space slash s and it comes up with a
very long list of files let's say you mistakenly did this under C Drive and
you type dir space / s what's going to happen is it's going to list files
for a very long time so in this case to stop that screen what you would do is
you press ctrl C as soon as you press ctrl C it's the break command and you
get to stop the action so let's do that a bit earlier dir space /s ctrl C
gets you out of it straight away ok so that's a cool little thing that you can
do and the next thing I want to do is talk about how we can create folders so
empty which is short for make directory actually allows you to create a folder
so I'm going to make a folder called hello and now if you press dir you
can see that we now have a folder called hello here so I'm going to go into that
folder and I'm going to press dir and it shows that there are no files in that
folder ok so ignore this dir these two listings
here basically they don't mean anything just ignore that okay so now I'm going
to create a file in this folder by typing notepad space test dot txt so as
you can guess notepad will just run the program so it's going to run the notepad
program and it's going to create a text file called test and notepad says cannot
find a text file which you want to create it yes and now inside the text
file I'm going to type this is a test document I'm going to ctrl s to save it
alt f4 to get out of it and now in this folder I have test.txt now if I press if
I type in the command delete space test. txt what happens is I can delete the
file and now if you press dir again it's gone so this delete command is
particularly useful uh if for example there was a file you want to delete and
it wouldn't let you delete it in Windows Explorer
you could try deleting it here okay so another example could be for example
let's say I have two files I'm going to create two files
and I'm going to do it again ah yes hello and now I have two files in this
folder now to delete all of them I would press Delete space a dot and that means
that I'm going to delete everything in this folder so if you press yes then
everything is gone okay the last thing I want to show you is if you exit out of
this folder and you type rd space hello that actually removes the directory so
rd stands for remove directory and if you type rd hello enter the hello
folder is completely gone so you can't get into it anymore so guys before I
continue I just want to remind you guys not to try these commands inside the
windows folder or the Program Files folder or anything important right
basically if you delete something inside DOS you can't get it back so please
don't try rd windows or don't try delete dot inside the windows folder otherwise
you will regret it okay thanks bye.