E
E
Eugene Zalivadnyi2015-11-09 17:00:17
bash
Eugene Zalivadnyi, 2015-11-09 17:00:17

How to make a short console command for a program in PATH?

There is a program in the folder C:\Program Files\MyProgram\MyAwesomeProgram.exe
How to add MyAwesomeProgram.exe to PATH is understandable.
The question is how to make it so that from the console to call this program with the myapp command, for example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2015-11-09
@MaxDukov

option 1- make a batch file, name it myapp, in which write C:\Program Files\MyProgram\MyAwesomeProgram.exe
option 2- set the variable set myapp = 'C:\Program Files\MyProgram\MyAwesomeProgram.exe', then in the console %myapp %

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question