Working directory
From Free net encyclopedia
(Difference between revisions)
Revision as of 15:28, 31 March 2006 Frap (Talk | contribs) Added see also ← Previous diff |
Current revision Frap (Talk | contribs) Added see also |
Current revision
For computer operating systems that support a hierarchical file system, the working directory is the directory that will be used for files referenced by name only, or by a relative path (as opposed to files referenced by full pathnames).
In DOS and UNIX, a user may use the cd or chdir command to change the current working directory.
In UNIX, the pwd command outputs the absolute pathname of the current working directory. The equivalent command in DOS is cd without arguments.
The POSIX C function chdir() can be used to set the current working directory.
[edit]