An equivalent of the 'which' command on the Windows command line is 'where' and it serves the same purpose as 'which' on Unix-like systems.

The 'where' command searches for a specified file or executable in the current directory and in the directories listed in the PATH environment variable.

To use the 'where' command, open the command prompt and type "where" followed by the name of the file or executable you want to locate. For example:

where notepad.exe


This will display the location of the notepad.exe executable file on your system, which is typically located in the Windows\System32 directory.