From: bas AT merlin DOT ebicom DOT net Message-Id: <2.2.32.19970124223651.006ce7e4@merlin.ebicom.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 24 Jan 1997 22:36:51 +0000 To: djgpp AT delorie DOT com Subject: system with rsxntdj Ok, another question *g* I'm writing sort of a front end for netstat.exe for a mirc script i'm writing and it works fine when compiled with plain old gcc but when I compile it using rsxntdj none of my system() stuff works, heres the source code in case you can see whats wrong, thanks! #include #include char rsxio_window_title[] = "SilverHaze IP Scanner"; int rsxio_window_close = 1; int rsxio_main(int argc, char **argv, char **env) { printf("\033[1;36m"); printf(" SilverHaze IP Scanner For Win32 "); printf("\n\nNow scanning for connected ip's..."); system( "echo SilverHaze IP scan results > ip.dat"); system( "netstat >> ip.dat"); printf("\nIP Scan complete, now printing results\n"); system("notepad ip.dat"); printf("\033[0m"); getchar(); return 0; }