FileName, Name, Path Properties (App)

Purpose

Return or set the filename and path of the current running application.

Syntax

$ = App.FileName

$ = App.Name

$ = App.Path

Description

FileName gets or sets (current) complete filename.

Name gets or sets (current) application name.

Path gets or sets (current) application path.

Example

Debug.Show

Trace App.FileName

Trace App.Name

Trace App.Path

Remarks

The complete path name can also be obtained from _CmdLine.

ProgName[$] returns the directory of the current running application. In the IDE the name of GFA-BASIC 32 is returned.

See Also

App, _CmdLine, ProgName

{Created by Sjouke Hamstra; Last updated: 05/10/2014 by James Gaite}