home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
PMBOOT.ZIP
/
PS_SHELL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-26
|
354b
|
17 lines
#define INCL_NOCOMMON
#define INCL_DOSMISC
#define INCL_DOSPROCESS
#include <os2.h>
#include <stdio.h>
int _cdecl main (void) {
char comspec[64], *pcomspec=comspec;
RESULTCODES rc;
DosScanEnv("COMSPEC",&pcomspec);
for (;;) {
DosExecPgm(NULL,0,EXEC_SYNC,NULL,NULL,&rc,pcomspec);
} /* endfor */
return 0;
}