title: C# - Run a console application from command line globally
body: <p>How do I run a console application on the command line without having to specify the path of the application?</p>
  
  <p>For example, dtexec.exe can be called just by typing dtexec.exe on the command line. How do I deploy my application so I won't be specifying the path?</p>
  
  <p><img src="https://i.stack.imgur.com/KCbUm.png" alt="enter image description here"></p>
  
  <p>Currently my console application is running fine (no errors), the only problem is that it needs to be deployed and called without specifying the path of the executable.</p>
  
  <p>Is this possible?</p>
  
  <p><img src="https://i.stack.imgur.com/ApMst.png" alt="enter image description here"></p>