Previous - sysExecute Section Home - System Miscellaneous Next - sysComputerName


sysFindExe ( )

Obtains the name of the executable (.exe) file associated with the specified document.

Usage:

sysFindExe (object me, string docFilePath)

Parameters:

docFilePath (string) - path to a file. This should be a document.

Returns:

(string) - the file path of the executable that is used to launch the document.

Example:

-- asks the system to find the application exe associated with a pdf file
xtRose = xtra("Rosetta").new( )
strAcrobatPath = xtRose.sysFindExe( "c:\test.pdf" )

Notes:


Previous - sysExecute Section Home - System Miscellaneous Next - sysComputerName