GetExecutableByExtension function
Shell utilities routines |
![]() ![]() ![]() |
acUtils
|
function GetExecutableByExtension(Extension: String): String;
|
The GetExecutableByExtension function returns the path to executable file for file extension specified by Extension string parameter.
|
Result of GetExecutableByExtension('html') will be the path to default browser.
|
Result of GetExecutableByExtension('wav') will be the path to default sound player.
|
Result of GetExecutableByExtension('bmp') will be the path to MSPaint (or other bitmap editor).
|
acExtAssociation component.
|