Quantcast
Channel: What is Windows' equivalent of the "which" command in Unix? Is there an equivalent PowerShell command? - Super User
Viewing all articles
Browse latest Browse all 7

Answer by Joma for What is Windows' equivalent of the "which" command in Unix? Is there an equivalent PowerShell command?

$
0
0

Cmd

where

C:\Users\X>where pingC:\Windows\System32\PING.EXEC:\Users\X>

Powershell

Get-Command

PS C:\Users\X> Get-Command pingCommandType     Name                                               Version    Source-----------     ----                                               -------    ------Application     PING.EXE                                           10.0.1776… C:\WINDOWS\system32\PING.EXEPS C:\Users\X>

Viewing all articles
Browse latest Browse all 7

Trending Articles