Vcl.Forms.TApplication.ExeName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ExeName: string read GetExeName;

C++

__property System::UnicodeString ExeName = {read=GetExeName};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Contains the file name of the application's executable file including path information.

Use ExeName to obtain the name of the executable file for the application. ExeName is the fully-qualified name, including the path to the application's executable.

The name of the application is the root name of the project with an .EXE extension. By default, this name is PROJECT1.EXE. To change the ExeName, save the project by the desired new root name and rebuild the application. ExeName will reflect the change to the project file name.

ExeName is a read-only property.

See Also

Code Examples