“Windows which”的版本间的差异

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

2022年8月30日 (二) 05:47的最新版本

标签:which

which.bat

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

使用

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