DOS Command Popup

If my XP C/C++ program calls a DOS command through the C language system() function, a DOS window pops up for the duration of the system() execution. Is there any way to keep this DOS window from popping up in the middle of my application?

See if this helps:

http://forum.java.sun.com/thread.jspa?threadID=222172&tstart=120

Or this (although not using C/C++):

http://www.computing.net/dos/wwwboard/forum/14270.html

I like the vbs / bat solution, I’m going to give that a try. Gracias.

To others tuning in late. I hear there is a utility called TweekUI that may help with this problem too.