# PATH

*noun*

say it: **“PATH”** **/ˈpæθ/**

A list of folders that the computer searches, in order, for a program when you type its name.

## What is **PATH**?

**PATH** is the environment variable that lists the folders searched, in order, when you type a command's name; the first folder holding it wins. A program in none of them is not recognized until you give its path or add its folder. Windows separates the folders with `;`, macOS and Linux with `:`.

```powershell
$env:PATH -split ';'                      # one folder a line
$env:PATH += ";$HOME\tools"                # this window only
```

## In a sentence

- “The tools folder wasn't on the **PATH**, so typing oil gave an error.”
- “Ada added the workshop's tools folder to the end of the **PATH** for this window.”

Level: Apprentice · [More Operating System terms at this level](https://www.ask-codey.com/glossary?category=operating-system&level=2)

Updated: November 10, 2026

## In other subjects

- [Path in C#](https://www.ask-codey.com/glossary/path-c-sharp)
- [Path in General](https://www.ask-codey.com/glossary/path-software-development)
- [Path in Java](https://www.ask-codey.com/glossary/path)
- [Path in PowerShell](https://www.ask-codey.com/glossary/path-powershell)
- [PATH in Unix](https://www.ask-codey.com/glossary/path-unix)

Source: https://www.ask-codey.com/glossary/path-operating-system
