command.com echo command

BlitzMax Forums/BlitzMax Programming/command.com echo command

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ok seems like i almost have what im after. Im using the system command from c.

c code
#include <process.h>

void _system(char *command){
   system(command);
}


max code
Import "system.c"

Extern
	Function _system(command$z)
End Extern

_system("echo hi from blitz!")


as you should see a quick flash of the dos box and the text 'hi from blitz!' is displayed using echo. just need to figure how to do this so the dos box is hidden

kev