Updated: 05/21/2018 by Computer Hope

A path may refer to any of the following:

1. Alternatively referred to as the pathname, the current path or path is the complete location or name of where a computer file, web page, or other object is located. Below are some basic examples of different paths you will encounter while working on a computer.

MS-DOS path

The following example shows an MS-DOS path or file path for system.ini file. When working with an MS-DOS, Windows, or Windows command line path, the drives, directories, and files are all separated by a backslash.

Windows command line path

Linux and Apple path

In Linux, or an Apple shell using the pwd command, your path may look like the following example. When working with this type of path, the drives, directories, and files are all separated by a forward slash.


Network path

A network path is a path to a share. In the example below, "help" is the share on the "hope" computer.


Internet path

The following example shows the Internet path or URL (Uniform Resource Locator) to this web page on the Internet.

How do I display the current path?

Tip: By default, MS-DOS and the Windows command line show the full current path in the prompt. For example, if the prompt is C:\Windows\System32> then the path is c:\Windows\System32. With Linux, you may only have a partial path. For example, the prompt may have "~/public_html/cgi-bin" in the prompt. The ~ (tilde) is a shortcut used to express your home directory.

To display the current path in MS-DOS or the Windows command line type chdir at the prompt. In Linux type pwd at the prompt to print the working directory (path).

  • See the chdir command page for further information on this command.
  • See the pwd command for further information and examples on this command.

Related pages

2. Path is a social networking service founded in 2010 that is exclusive to mobile devices. It allows you to connect your closest friends and family, up to a maximum of 150 connections.

3. In vector graphics, a path is another name for a vector or a line with both a starting and an end point.

Absolute path, Access path, Command line, Current directory, Data path, Directory, Relative path, Software terms