Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How do I launch executable from PS prompt?

$
0
0

Hello,

Very basic question, if I launch powershell and I'm trying to launch executable from "system32" (which is in PATH:), how do I do that without specifying exact path to it (like you can do in "CMD.EXE")

PS C:\Users\g> nesth.exe winhttp show proxy
The term 'nesth.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
pelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:10+ nesth.exe <<<<  winhttp show proxy+ CategoryInfo          : ObjectNotFound: (nesth.exe:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>