>Does anyone know if there is a way to pass a command line parameter to a visual foxpro program compiled as a stand alone exe? I would like to pass the name of a control file on the command line. Thanks!
Just add an LPARAMETERS statement to your main program, along with however many parameters you think you might need. Note that all parameters are passed to an .EXE as character strings.
Addendum: also note that parameters that are NOT passed will be logical .F.