Usually, you would want to hide the CMD window.
In my case, I'll be doing some tests with PHP+CLI.
It will be mighty useful if PHP could be made to launch a CLI popup.
But alas, I can't find a way to make it to.
The following command should have made it work, but it doesn't:
START "PHP AE2" CMD /K DIR
0=>array('pipe','r'), // STDIN
1=>array('pipe','w'), // STDOUT
2=>array('pipe','w') // STDERR
// ....some stream stuff....
I am bit late to answering this question, but to help close this question here is my answer.
The command is correct but you need to get Apache to interact with the desktop. If you are on a windows machine, just go to services, find Apache and make sure you tick the "Allow Service to Interact with desktop" checkbox.