How to make powershell tell me about missing DLLs?

后端 未结 3 553
有刺的猬
有刺的猬 2021-02-06 08:28

I use powershell as shell in Windows. When I\'m trying to launch some application who\'s dll dependencies are missing in PATH environment variable, then nothing happens, powersh

3条回答
  •  时光取名叫无心
    2021-02-06 08:37

    You could echo the %ERROR% variable, which stores errors until the PowerShell window is closed.

    Update: In PowerShell, you could use the Get-Error command, or look at the $Error variable.

提交回复
热议问题