I wrote the batch script below to compile cs code, but it does not work. Any ideas?
@echo off
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86
csc.exe -target:exe *.cs
It opens the vcvarsall.bat but the last line does not work.
To Make it works :
1- add this path to the system environments:
2- change the .bat file to this:
.