See
How to pass parameters to VFP EXE FAQ #17861
>Hey everyone,
>I am trying to pass parameters into a program from the command line but am not quite sure how to pass the parameters. I have tried some things without any luck. What I would like to do from the command prompt is something like:
>Do test.fxp parameter1, parameter2
>Does anyone know the correct way to do this? Any help would be appreciated. Thanks.
--sb--