Is there an equivalent Windows command to the Linux command which ?

Is there an equivalent Windows command to the Linux command which ?
Yep, it is “where”.
C:\sqldeveloper-17.2.0.188.1159-x64\sqlcl-17.2.0.184.1230-no-jre\sqlcl\bin>where java
C:\ProgramData\Oracle\Java\javapath\java.exe
or
C:\sqldeveloper-17.2.0.188.1159-x64\sqlcl-17.2.0.184.1230-no-jre\sqlcl\bin>where where
C:\Windows\System32\where.exe
or on the Linux side
[oradb@testhost]$ which ls
/bin/ls
Note: If you are using Windows Powershell – you have to use “where.exe” – as it appears Powershell has conflicting definitions of just “where”.  See screenshot below.

Scroll to Top