Start a process in the same way as with a double click
-
Good day, I have the following problem: I want to launch a specific application through a program I developed (C# .NET/C++). Unfortunately, this program cannot be started through the usual ways like Process.Start, Shell, etc, because it refuses to be started automatically. I already tried to start a .lnk file or to do the whole thing via cmd, unfortunately the program always knows that it was not started by hand. I also tried to open it via the web browser, but even there it recognizes the difference between a manual and automated start. I am now looking for a way to start a .lnk file (this contains the parameters), but just as if I double-click on it, so that this program does not realize that it was started automatically. I don't want to use something like AutoHotkey because I want the program to work the same on every computer. Is there any way to disguise the call so that the program doesn't notice. I would be very grateful for any help. Programming language and way doesn't matter to me in principle, as long as I can integrate it into my C#/C++ project by a call.
-
Good day, I have the following problem: I want to launch a specific application through a program I developed (C# .NET/C++). Unfortunately, this program cannot be started through the usual ways like Process.Start, Shell, etc, because it refuses to be started automatically. I already tried to start a .lnk file or to do the whole thing via cmd, unfortunately the program always knows that it was not started by hand. I also tried to open it via the web browser, but even there it recognizes the difference between a manual and automated start. I am now looking for a way to start a .lnk file (this contains the parameters), but just as if I double-click on it, so that this program does not realize that it was started automatically. I don't want to use something like AutoHotkey because I want the program to work the same on every computer. Is there any way to disguise the call so that the program doesn't notice. I would be very grateful for any help. Programming language and way doesn't matter to me in principle, as long as I can integrate it into my C#/C++ project by a call.
Could it help you: [windows - executing exe using cmd or double click - Stack Overflow](https://stackoverflow.com/questions/12526327/executing-exe-using-cmd-or-double-click)
-
Could it help you: [windows - executing exe using cmd or double click - Stack Overflow](https://stackoverflow.com/questions/12526327/executing-exe-using-cmd-or-double-click)
No idea why this is so easy. But I really have to thank you! I have already tried it with start, but the idea to use explorer I would never have come. It works now! Thank you very much! :laugh: