Add program to windows shell

Asked

Viewed 86 times

0

I need to add a program to the windows shell to call it more comfortably.

In the linux environment I usually create a soft link between the program and the program installation folder, follow 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 play the same result on Windows 10?

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

1 answer

0


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

That is, to solve simply add the location of the program folder to the PATH environment variable.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.