Current working directory



         


For computer operating systems that support a hierarchial file system, the working directory is the directory path that a user or program has designated to be the directory for files referenced by name only, or by a relative path (as contrasted with using both a file's name and a designation of the location using a fully resolved file path).

In DOS and UNIX, a user may use the cd or chdir command to change the current working directory.
In UNIX, the pwd command will print the present working directory.

The POSIX C function chdir() can be used to set the current working directory.





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License