System.CmdLine

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

CmdLine: PChar platform;  { Command line pointer }

C++

extern DELPHI_PACKAGE WideChar *CmdLine;

Properties

Type Visibility Source Unit Parent
variable public
System.pas
System.hpp
System System

Description

Points to the command-line arguments specified when the application is invoked.

Note: The CmdLine variable points to a null-terminated string that contains the command-line arguments specified when the application was started. Use ParamStr to access individual arguments. In a library (DLL), CmdLine is nil (Delphi) or NULL (C++).

See Also