If you've already made the .exe go into your cmd prompt navigate to folder you placed the .exe (using the cd command) then just type:
C:\VCpp_Progs\> programname
Here VCpp_Progs is the dir I stored my program in. programname.exe is the name of the program I made. So replace that with the name of your program.
You can be able to run the vc++ program from the command prompt as you will do in the linux like gcc program name and the exe file for that is vcc space the program name you want to run
thxs for the quick response ..
i will explain u what i am reallly trying to do ...
" i want to write a VBscript which automatically opens the VC++ porjects .. complie it link it build it.. and generate all the exe files and exits .. " this things should be done from dos prompt .. so i want to know is there any option by which i can build my vc++ project from command line without opeoning the worksapce of vc++ ...