Ho un file .bat che contiene:

@echo off

start /wait 1.exe
start /wait 2.exe
start /wait 3.exe
start /wait 4.exe
start /wait 5.exe
start /wait 6.exe
start /wait 7.exe
start /wait 8.exe
start /wait 9.exe
start /wait 10.exe
start /wait 11.exe
start /wait 12.exe
start /wait 13.exe
start /wait 14.exe
start /wait 15.exe
start /wait 16.exe
start /wait 17.exe
start /wait 18.exe
start /wait 19.exe
start /wait 20.exe
start /wait 21.exe
start /wait 22.exe
start /wait 23.exe
start /wait 24.exe
start /wait 25.exe
start /wait 26.exe
start /wait 27.exe
start /wait 28.exe
start /wait 29.exe
start /wait 30.exe

@exit

Ora tutto ok tranne il fatto che una volta cliccato mi apre una finestra dos nera che vorrei evitare...

Preciso che tutti gli exe richiamati sono costruiti in modalità win application con :

codice:
#define STRICT 
#define WIN32_LEAN_AND_MEAN 
#include <windows.h>

int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) 
{ 

//mio cod

}
e inoltre per ognuno nel programma DEV c++ ho scelto come opzione di compilazione (NON APRIRE CONSOLLE)

Inoltre se li clicco singolarmente uno ad uno.. non mi si apre nessuna consolle...

Invece richiamandoli dal file .bat sopradetto ecco comparire l'odiosa finestrella


Posso eliminarla in qualche modo?

Grazie infinite agli/alle esperti/e windows/terminators...