Run vcvars32.bat (VC6) or vsvars32.bat (.NET) from the command prompt. Then
create files such as "debug.settings" and "release.settings", containing
something like
/Zi /Fe"myexe_d.exe" /Fd"myexe_d.pdb"
/Ox /Fe"myexe.exe"
respectively.
Then call something like
cl @debug.settings *.cpp
from your project's directory.
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:5E**********************************@microsof t.com...
I am trying to write programs in C in a text editor and run them on a
command line but I am having trouble. In Visual C++ 6.0 you can select text
file then compile and then run the program and it will atuomatically run in
command line, but in .net this is not available. Is there any way that you
can create and run C prorams in Command Line. Thank you.