A common situation in compiled programs is reading the command line arguments 
to control operation of the program.

I'm trying to write an application to automatically perform the same action on 
a number of different directories and I want to be able to pass the name of the 
directory into the compiled application via the command line.  Is there a way 
to learn the command line arguments from inside the compiled application?

I think I can do this by setting an environment variable before running the 
program and using ENVVAL() in the application, but I want to avoid the extra 
batch file required.
--
Larry

Reply via email to