Gw Temp

Menu

Tutorial - 'Beginning Dos' by DarkStorm

An item about General posted on

Blurb

For those of you who were born within the last 9 years, or never were smart enough to own a computer, you can see what you missed out on right here!

Body

====================
Learning MS-DOS
====================
By DarkStorm

Ok, can here what your saying already, 'Why should i learn DOS, ive got
Micro$oft Windows XP' well the main reason that i can see is that a lot
of the commands reference to actual commands that you can still use on
the windows XP command line prompt and you can also play all those old
DOS games that you have been dying to play (I recommend Ultima UnderWorld
2 - A game way ahead of its time).

First DOS stands for Disk Operating System, not the original meaning but
the one that it means now. (For those interested the original meaning
was Quick and Dirty Operating System; microsoft bought it and for some
strange reason changed the name :P)

To follow this tutorial, you will need to grab yourself a copy of DOS, it
can be downloaded in a load of places i imagine. (I don't need to i still
have my copy of MS-DOS 6.22 (6.2 is for losers)) The best place i can
think of to download it is http://www.free-dos.org/, if thats not a
valid address do a google search for free DOS; Free DOS is basically an
open source project to make a free version of DOS, i can't comment on how
good it is since i have never got around to trying it.

If you can install DOS on an old blank hard disk you have if then you
can try following this from the command prompt or you can make a boot
up floppy and run it from that.
Anyway enough with this crap, lets get on with the tutorial.

After some loading you now should be faced with the DOS prompt saying either:
C:\>
or
A:\>
or something similar.
If you get THIS
A>
or
C>
Then get a later version of DOS, the old ones didn't even bother to tell
you your current directory.

The first command to learn is the 'dir' comand, this basically gives a
listing of the current directory... try it now, here is my example.

---
A:\> dir
Volume in A:\ has no label.
Volume serial number is: 731-O23
Directory listing for A:\

Frontier 22-05-2004 1:32a
anime 05-10-2004 1:43a
0 Files 0 Bytes
2 Directories 300,000 Kb
---

Ok this should be quite self explanatory, the means whatever is next
to it is a directory (the proper name for a folder) the anime means that
its called 'anime' (Note: Your results with this command may, and
probably will vary).
The 0 files means that there are no files, and the 2 directorys means...
Nah, i'll leave you in suspense as to that meaning. Note: i also exagerated
the directory size, everyone knows that floppys are only 1.44mb after all.
(3 1/4 inch floppys that is)

The next command that you will learn is the 'cd' command, CD means
Change Directory; this is very useful in our case as all we can see
at the moment are directorys.

---
A:\>cd anime
A:\anime>
---

As you can see, after that command the path of the command line prompt has
changed to show that we are now in hentai directory.
Now if i want to go back all the way to the original root directory i do this:

---
A:\anime>cd\
A:\>
---

As you can see, this drops me back into the original directory, lets try
another example:

---
A:\anime\videos\series1>cd\
A:\>
---

As you can see, no matter how many directorys i have progressed through
the directory tree 'cd\' will ALWAYS bring me back to the root.
But what if i just want to go back ONE directory? No problem.

---
A:\anime\videos\series1>cd ..
A:\anime\videos>cd ..
A:\anime>cd..
A:\>
---

As you can see the 'cd ..' command takes me back by one directory, you
can also see you can write it as 'cd..' as well.

Ok now lets imagine that when you use dir, you get so many files that they
don't all fit onscreen.

---
A:\anime>dir
Volume in A:\ has no label.
Serial number of A:\ is 376-282
Directory listing for A:\

videos 22-05-2004 1:32a
pic1 jpg 22-05-2004 1:32a
pic2 jpg 22-05-2004 1:32a
.
.
.
pic8928 jpg 22-05-2004 1:32a
---

You get the point, far to many to fit onscreen so instead try using
'dir /w', as you see, this lists all the files like a table with any
extensions after a '.' rather than in a seperate column.
Any directory are surrounded in these '[ ]' i.e. [anime].

Now that you are familiar with the environment somewhat i am going to cease the
overlong explanations and insights into the contents of my hard drive.

Another use option to use with dir is the /p... so you could put in something
like this 'dir/w /p', all the /p does is pause the list if it will go offscreen
and ask the user for any key to continue.

---
The Format Command:
'format [drive name here] [any options here]'

This is used to wipe the data off an entire disk...
Here is an example:

'format A: /q'

This says format disk A: (the floppy disk) and the /q means use a quick
format to save time.
Another common option if you were having disk problesms was /u which mean't
unconditional, the format goes ahead whatever.

---
Some quick commands here:
md [Directory name here]

This makes a directory with the name you specify.

rmdir [Directory name here]

This removes a directory with the name you specify... obviously it won't if theres
stuff in it.

deltree [Directory name here]

***WARNING*** This deletes the directory and ALL subdirectories and files
use with extreme caution!

del [filename... include extension]

This deletes a file with the filename specified.
---

I believe that the above commands are enough to get you started using DOS, however
the best thing to do is type 'help' and look through the comprehensive if a little
obscure help files provided by DOS.

I hope this helped some people, and if you have any feedback...

dark_stormx@hotmail.com