How could I call applications external to mine without having to use a route? Is there any other way?
How could I call applications external to mine without having to use a route? Is there any other way?
To launch an application simply by indicating the name of the executable, you must indicate to the operating system any predefined folders to search for that application.
You define these folders in Environment Variable
in this case of Windows
Launching external programs in C # without knowing the exact path
If you indicate there the folder where you would put the executable that you want to launch then from code only indicate the name, without the route
I understand that you are going to use the Process.Start("nombreapp.exe")
method to launch the aplicaicon
One way can be:
Process.Start("notepad.exe");
If what you want is only to open the other application without interacting, with the following line is enough:
Process.Start("snippingtool.exe");
You only have to specify in parentheses the name of the executable of the application.