There are easy ways to interpret command line args when they're passed as part of kicking off your executable:
Like so:
#include <stdio.h>
void main( int argc, char *argv[] )
{
int count;
/* Display each command-line argument. */
printf( "\nCommand-line arguments:\n" );
for( count = 0; count < argc; count++ )
printf( " argv[%d] %s\n", count, argv[count] );
return;
}
Let me know this isn't what you meant.