powershell equivalent of bash which
- User
powershell equivalent of bash
which Assistant
To find the equivalent of Bash's
whichcommand in PowerShell, use these methods:
1.
where.exe(Windows Command-Line Tool)Searches the system's
PATHfor executables. In PowerShell, usewhere.exeexplicitly to avoid conflicts with theWhere-Objectcmdlet.
Example:where.exe notepad.exeOutput:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.