ShellExecute
ShellExecute is a Windows API function from the Shell API that performs an operation on a specified file or object, such as opening a document with its associated application, printing, or exploring a folder. It is implemented in shell32.dll and is accessible from C/C++ and other languages via the shellapi.h header.
Signature and variants: HINSTANCE ShellExecute(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd);
Usage notes: ShellExecute can launch a file with its associated program, start a URL or mailto, or
Relation and alternatives: For more control and reliability, developers often prefer ShellExecuteEx or CreateProcess. ShellExecuteEx offers