ProgramFilename()

Syntax

Result$ = ProgramFilename()
Description
Returns the full path and filename of this program and may be used to find where the program is installed or the executable name. GetPathPart() or GetFilePart() may be used to get the path or filename of the program from the return string.

Parameters

None.

Return value

The full path and filename of this program.

If used inside a DLL, this function returns the path and filename of the DLL, not the main program that loaded it.

Supported OS

All

<- ProgramExitCode() - Process Index - ProgramID() ->