Windows API reference

GetCommandLineW

Returns the full command line of the current process.

Library
Kernel32.dll
Category
Helper
Suspicion
low
MITRE ATT&CK
Not mapped

Detection summary

GetCommandLineW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Common in general Windows applications; usage varies by application type.

Open GetCommandLineW in the interactive atlas