>Is it possible to have our own command-line switches in an EXE (similar to how VFP6.exe works), without using the CONFIG.FPW file? In other words, I would like to run a program such as this: MYPROG.EXE -oMyOption
>
>The "-o" switch could be any character, as necessary. I'd like the EXE to be able to parse the command-line options.
>
You can specify parameters accepted from the command line by adding a PARAMETERS or LPARAMETERS statement to the beginning of your main program - you'll have to parse the parameters, and a few -
letter combinations are reserved by the VFP runtime, so youy can'tr use them.