home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
REND.LZH
/
REND
/
RENDV70.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-24
|
481b
|
31 lines
#include <stdio.h>
#include <stdlib.h>
#include <process.h>
char arg[256] = "monv70 -i ";
int main( argc, argv )
int argc ;
char *argv[] ;
{
int i;
FILE *fp;
strcat(arg, *argv);
i = strlen(arg)-5;
arg[i++] = '.';
arg[i++] = 'v';
arg[i++] = '7';
arg[i++] = '0';
arg[i++] = ' ';
arg[i++] = '\0';
for (argv++; *argv; ++argv) {
strcat(arg, *argv);
i = strlen(arg);
arg[i++] = ' ';
arg[i++] = '\0';
}
system(arg);
return( 0 );
}