V
V
Vladimir A2020-10-22 21:42:24
C++ / C#
Vladimir A, 2020-10-22 21:42:24

How to run an exe file from the console without specifying the full path to the executable file?

How to run an exe file from the console without specifying the full path to the executable file?
Suppose there is a certain program in a certain folder, the user must run it as calc or another standard windows program via cmd without specifying the full path to it.
I found a solution with adding the path to the program in windows explorer in the path section.
If there are any other solutions?)

PS. c++ program

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ronald McDonald, 2020-10-22
@Zoominger

I found a solution with adding the path to the program in windows explorer in the path section.

Only this.
You can also throw programs into existing paths.

V
Vladimir A, 2020-10-22
@hauptling

https://superuser.com/questions/871372/launch-prog...
found this solution, but maybe there is something else?)

A
Adamos, 2020-10-22
@Adamos

https://stackoverflow.com/questions/20530996/alias...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question