Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Parses a Unicode command-line string and returns a dynamic array of the command-line arguments.
parse_command_line(
command_line, parser_type)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
command_line | string |
✔️ | The command line value to parse. |
parser_type | string |
✔️ | The only value that is currently supported is "windows" , which parses the command line the same way as CommandLineToArgvW. |
A dynamic array of the command-line arguments.
print parse_command_line("echo \"hello world!\"", "windows")
Output
Result |
---|
["echo","hello world!"] |