Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== FINDEXE Method (System) ====== ==== Description ==== This method returns name and path of an executable file (.exe) associated with the specified document file. ==== Syntax ==== ExeName = Exec_Method( "SYSTEM", "FINDEXE", File, Directory ) ==== Parameters ==== ^Name^Required^Description^ |File|Yes|Name of the document file to find the executable for.| |Directory|No|The default directory for the search.| ==== Returns ==== The name and path of the executable file associated with the specified document. If no association can be found a numeric Windows “SE_ERR_” code is returned instead. ==== Remarks ==== This method is a simple wrapper around the Windows API FindExecutableW function - further information regarding this may be found on the MSDN website. ==== Example ==== <code> //// Example - find the exe associated with a text file// TextExe = Exec_Method( "SYSTEM", "FINDEXE", "test.txt", "c:\temp" ) </code> ==== See Also ==== SHELLEXEC method. guides/oi10/presentation_server/findexe_method_system.txt Last modified: 2023/10/25 10:49by 127.0.0.1