14

Possible Duplicate:
Windows equivalent of whereis?

For Linux/Mac I can use which to locate the file. What would be the equivalent to this command line tool of which?

prosseek
  • 5,794
  • 21
  • 59
  • 78

1 Answers1

19

It's WHERE to find any files in your path.

On XP/2003 and earlier, you need to add it from the Resource Kit, but it a standard command in Vista onwards.

paradroid
  • 22,761
  • 10
  • 76
  • 114
  • By the way, `where | clip` will put the path into the clipboard, which is useful. – paradroid Dec 21 '18 at 17:29
  • 1
    Use `where.exe` in Windows PowerShell otherwise it conflicts with the built-in `where` command. To use `which` in PS, see: https://stackoverflow.com/questions/63805/equivalent-of-nix-which-command-in-powershell – Neil C. Obremski Nov 18 '19 at 22:25