You will have to put the 1st command in quotes, as you have an embedded space. The program parses by spaces, so if you have spaces within the command, it will crash & burn.
i.e.
"C\Program Files\Cognos\cer1\bin\Impromtu.exe" c:\prfq.imr, ...
It wouldn't hurt to put the second command with quotes, but it not required.
Good luck
Bruce