共用方式為


CCommandLineInfo::m_strFileName

Stores the value of the first non-flag parameter on the command line.

CString m_strFileName;

Remarks

This parameter is typically the name of the file to open.

Requirements

Header: afxwin.h

See Also

Reference

CCommandLineInfo Class

Hierarchy Chart

CCommandLineInfo::m_strPrinterName

CCommandLineInfo::m_strDriverName

CCommandLineInfo::m_strPortName

CWinApp::ProcessShellCommand