I know how to do this with batch files, you add the path to the system variable but I cannot seem to find the answer to my question anywhere.
Anyone knows?

example:
Instead of navigating to the app directory and running
`dotnet run` I would like to just call a command like `myApp` from any directory I'm in.

PS: Im using windows 10.