Forrest logo
back to the where tool

where:tldr:36290

where: Find all instances of a command.
$ where ${command}
try on your machine

The command "where ${command}" is a command that is used to search for the location of a specific executable file on a Windows operating system.

The "${command}" part of the command is a placeholder that should be replaced with the actual command or executable file name you want to find the location of.

When you run this command in the Command Prompt or PowerShell, it will search for the specified command or executable file in the directories listed in the system's PATH environment variable. The PATH variable contains a list of directories where the system looks for executable files. It is usually set to include the standard system directories as well as any additional directories you may have added.

Once you run the command, it will display the path or paths where the executable file is located if it is found. If the file is not found, it will display a message indicating that the command or executable file was not found in any of the directories in the PATH.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the where tool