SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Dream Machine ( Build your own PC ) -- Ignore unavailable to you. Want to Upgrade?


To: Clarence Dodge who wrote (5633)1/27/1999 10:25:00 PM
From: Spots  Read Replies (1) | Respond to of 14778
 
All DOS "Commands" (other than builtin ones which are implemented
in command.com) are just executable file names.

If something doesn't run, navigate to the directory where it
lives with CD or CHDIR (aliases for each other) that change
the current directory till you get where you want to go.

Use the DIR command to see what's in a directory. Use
DIR /P to see one page at a time. Use DIR file.ext
to see if a file is in the current directory.

Note: DOS maintains a current directory separately for
each drive letter. To change drives, type just the letter.
For instance, if the current directory is C:\Junk
type D: to get to the current directory on D:. That
is, changing drives is separate from changing directories
within drives. (It's actually a bit worse, but let's
leave it at that for now.)

Type HELP for a list of commands supported by command.com
(the DOS command interpreter). Anything not listed there
you run by typing it's file name. If the extension is
.exe or .com, you don't need to type it, but it never
hurts.

More woe: DOS uses so-called 8.3 filenames, that is,
names of up to 8 characters (no spaces) with an extension
of up to 3 chars. So longer filenames, or those with
spaces, get mapped to 8.3 names. An important one is
the Program Files directory, which normally gets mapped
to PROGRA~1. So if you want to run, say,
C:\Program Files\Drive Image\DI.EXE you would navigate
something like

c:\> cd progra~1
c:\Progr~1> cd drive~1
c:\progr~1\drive~1> di.exe

where everything up to > is the prompt from the DOS
command interpreter. You enter what's to the right.

Use DIR anytime to find out where you are and what's in
the current directory. (Don't forget DIR /p if the
display rips by so fast you can't read it.)

Hint: If you've ever done any unix work, try the unix
command to do what you want. Sometimes it works
(cd, for example, but forget ls).