win32api.CommandLineToArgv

[string] = CommandLineToArgv(cmdLine)

Parses a command line string and returns a list of command line arguments, in a way that is similar to sys.argv.

Parameters

cmdLine : string

A string that contains the full command line. If this parameter is an empty string the function returns the path to the current executable file.