I am searching for a automation to create exe of VC++ project but I don't want to open VC++ IDE.

I want to create exe file using command prompt.

please help.

Its urgent..please help.?

I got it...here is the solution...

We can use nmake utility to create executable file and its not necessary that visual studio should be installed.

Nmake command needs .mak file of project. That we can export from MVC++ IDE by selecting Project -> Export Make File

Then execute nmake command by following syntax


nmake -f ProjectName.mak
Defalut is debug build. We can change to release build by following syntax :

nmake -f ProjectName.mak CFG="ProjectName - Win32 Release"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.