Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - each disk drive is conceptually divided into directories. each directory is http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Each disk drive is conceptually divided into directories.  Each directory is
capable of containing files and/or other directories.  The initial
directory, called the root directory, is not named; all other directories
are named and can be accessed with a path specification.  A path is either
absolute or relative to the current working directory.  Some examples are:

b:\
    the root directory of the second disk drive

\
    the root directory of the current disk drive

\outer\middle\inner

    directory inner which is contained within directory middle which is
    contained within directory outer which is contained within the root
    directory of the current disk drive.

Directory names are separated by backslash characters (\).  The initial
backslash character informs DOS that the path starts with the root
directory.  When the first character is not a backslash, the path starts
with the current working directory on the indicated device.

The DOS CHDIR (CD) command can be used to change the current working
directory for a device.  Suppose that the following DOS commands were
issued:


     chdir a:\apps\payroll
     chdir c:\mydir

Then, the following path specifications are:

a:xxx\y
    a:\apps\payroll\xxx\y

c:zzzzz
    c:\mydir\zzzzz

When no drive is specified, DOS uses the current disk drive.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson