Please let me first state that I am not a c programmer!! What i need is a program that will take command line arguments and then run a program passing it those arguments.
This is what I have so far
main( int argc, char *argv )
if ( argc == 5)
system("/usr/local/script/send_it.pl argv argv argv argv");
else if ( argc < 5)
printf("USAGE: sendit <keyname> <local file> <remote file> <speed>\n");
How do I get it to expand the argv values?