JCL Help:ShellFindExecutable

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the executable associated with a file.


Pascal

 function ShellFindExecutable(const FileName: string; const DefaultDir: string): string;


Parameters

Parameters Description
const FileName: string Fully qualified name of the file for which to determine the associated application.
const DefaultDir: string TODO


Return Value

If the function succeeds it returns the name of the application associated with the specified file. If the function fails it returns an empty string.


Description

ShellFindExecutable returns the name of the application that is associated with the specified file. That is, the application that would be executed when you double click the document (file).


About

Unit

JclShell


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page