“Windows which”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
(建立内容为“which.bat<syntaxhighlight lang="bat"> @echo off echo %~dp$PATH:1 @echo on </syntaxhighlight>使用<syntaxhighlight lang="powershell"> C:\Users\Administrator>which…”的新页面)
(没有差异)

2022年8月15日 (一) 04:30的版本

which.bat

@echo off
echo %~dp$PATH:1
@echo on

使用

C:\Users\Administrator>which ssh.exe
C:\Windows\System32\OpenSSH\
C:\Users\Administrator>