HB_ProgName
Returns name and directory of the current Harbour program
Syntax
HB_ProgName() --> <cProgram>
Returns
<cProgram> : Drive, path and file name of the current .EXE program
Description
This function determines the name and path of the Harbour application in use
Note
This function is synonim of ExeName() and HB_ArgV()
Example
Determine if the name or path of an EXE file has changed: cOrigPath := "C:\DATA\ADDRESS.EXE" IF HB_ProgName() <> cOrigPath ? "Program name or directory have been changed!" QUIT ENDIF
Seealso
ExeName(), HB_ArgV(), HB_DirBase()