Windows下类似Linux下的命令

Windows下类似Linux下的命令

cmd下

1
2
c:\Users\Jack>for %x in (powershell.exe) do @echo %~$PATH:x
c:\Windows/System32\WindowPowerShell/v1.0\powershell.exe

powershell 下

``` PS C:\Users\Jack>Get-Command powershell.exe
CommandType Name Version Source


Application powershell.exe 10.0.17… C:\WINDOWS\System32\WindowsPowerShell...

------------------------ The End ------------------------
0%