ProgramFilename()

Syntax

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

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() ->