The "start" command seems to be identical to using the "Run" command on the start menu. I'd like to exactly replicate this functionality in a C program. As far as I understand, the start command calls ShellExecute. The problem is: ShellExecute requires two parameters: lpFile and lpParameters. How can I split a command line string to a lpFile and lpParameters exactly like the start command does? The solution must work correctly with quoting.