ProgramFilename()

Syntax

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

If used inside a Dll, this command returns the path and filename of the dll, not the main program that loaded it.

Supported OS

All

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