Add program to windows shell

0

I need to add a program to the windows shell so I can call it more conveniently.

In the Linux environment I usually create a soft link between the program and the program installation folder, here is an example:

ln -s /opt/sublime-text/sublime-text /usr/bin/sublime-text

Then I can:

sublime-text index.php

What would be the best solution to reproduce the same result in Windows 10?

I've already got a solution using the windows environment variables, but I wonder if there is another method to get the same result.

    
asked by anonymous 23.03.2017 / 13:00

1 answer

0

I was adding to the windows environment variables the variable "Program" - "location of the exe". Instead I added the path of the program folder to the PATH variable and it works 100%

In other words, to solve, simply add the location of the program folder to the PATH environment variable.

    
23.03.2017 / 13:08