I want to get the name of the currently running program, that is the executable name of the program. In C/C++ you get it from args[0]
.
.exe is a common filename extension denoting an executable file (the main execution point of a computer program) for Microsoft Windows.
Executable (also called the Binary) is the output of a linker after it processes the object code. A machine code file can be immediately executable (i.e., runnable as a program), or it might require linking with other object code files (e.g. libraries) to produce a complete executable program.
Right-click the “Start” menu shortcut for the application, and select More > Open file location. This will open a File Explorer window that points to the actual application shortcut file. Right click on that shortcut, and select “Properties.” No matter how you located the shortcut, a properties window will appear.
System.AppDomain.CurrentDomain.FriendlyName
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With