How to fix Windows "echo $PATH" empty result
When you try to run
example-3.sh
you will always get an empty result.
Instead, if you are in cmd
, use
example-2.txt
echo %PATH%
but if you are using PowerShell
, you need to use
example-1.powershell
$env:PATH
Check out similar posts by category:
PowerShell, Windows
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow