_acmdln, _tcmdln, _wcmdln


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _acmdln, _tcmdln, _wcmdln.

Internal CRT global variable. The command line.

char * _acmdln;  
wchar_t * _wcmdln;  
#ifdef WPRFLAG  
   #define _tcmdln _wcmdln  
   #define _tcmdln _acmdln  

These CRT internal variables store the complete command line. They are exposed in the exported symbols for the CRT, but are not intended for use in your code. _acmdln stores the data as a character string. _wcmdln stores the data as a wide character string. _tcmdln can be defined as either _acmdln or _wcmdln, depending on which is appropriate.

Global Variables