Christopher W. Curtis wrote: > However: > > int main() > { FILE *foo = popen( "non-executable.file", "r+ ); > fprintf( foo, "hmm" ); > } Hint: you must #include <stdio.h> to use popen Hint: '"r+' is not valid C Hint: popen returns NULL if it fails. -- see shy jo