Can someone help me with statement:
shell '%COMSPEC% /c "C:\Program Files\Cognos\cer3\bin\trnsfrmr.exe" -n2 -s "D:\Cubes\Net\ModelsCubes\Net Shipments.pyi"'

When I run it, I get the following error:
'C:\program' is not recogonized as an internal or external command

How do I solve the problem since there is a space in the end of the line.