これを手動でコマンド プロンプトに貼り付けると動作しますが、Python から実行するとThe filename, directgory name, or volume label syntax is incorrect
.
os.system('%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86')
os.system('devenv Immersica.sln /rebuild Debug /Out last-build.txt')