#include void main( int argc, char * argv[] ) { char file_name[9]; char file_ext[4]; _bprintf( file_name, 9, "%s", argv[1] ); _bprintf( file_ext, 4, "%s", argv[2] ); printf( "%s.%s\n", file_name, file_ext ); }