DOS is a very simple operating system. For your purposes, you can probably think of it as a variation of a Linux shell in a terminal window.
Here is what some dos prompts look like:The letters before the ":" are drive letters. A: and B: are floppy drives, C: is usually the hard drive, and D:, E:, and F: are often CD drives, Zip drives, etc. Anything past G: is probably a network drive. At Carleton, K: is your FABIO account. At the prompt, after the drive letter, you see the directory that you are in.
Navigating the file system in DOS is similar to Linux. To change drives,
you will need to type in the drive letter followed by a colon (:). To change
directories, you simply do it in the same way as Linux, except use a backslash
\ instead of a forward slash /.
For example, if I changed drives to K: and then went into a directory called
AISTUFF, my screen would look like this:
C:\WINDOWS>K:
K:\>cd aistuff
K:\AISTUFF>
K:\AISTUFF>doskey
DOSKEY installed
09/28/2006 02:17 PM <DIR> . 09/27/2006 08:21 AM <DIR> .. 09/22/2006 09:57 AM 4,392 VacuumBot.java 09/22/2006 09:57 AM 555 Agent.java 09/22/2006 09:57 AM 1,497 Calibration.javaHere's a list of some other Linux commands and their DOS equivalents:
Linux | DOS |
cp picture.jpg ./stuff/mypics/ | copy picture.jpg .\stuff\mypics |
mv thing.cpp /tmp/ | move thing.cpp c:\temp |
mv oldname.tff newname.tff | ren oldname.tff newname.tff |
rm badfile.txt | del badfile.txt |
rm -r baddir | deltree baddir |
mkdir newdir | md newdir |
cat textfile.txt | type textfile.txt |