>Hi folks!
>
>I was asked here at work to see if I could add a Command Line Parameter to be passed over to my VFP 6.0 app (example - pass over how many records for the app to leave after deleting the rest.)
>
>I am probably overlooking the obvious...
>
>Any ideas appreciated.
>
>Thanks!
>
>Tommy
You can add LAPRAMETERS to the main program to accept command line parameters.
LAPRAMETERS tcParam1, tcParam2
...
c:\mydir\myapp.exe 12345 abcd
Remember, that all parameters are passed in the EXE as strings. If you pass more than one parameter, you've to separate them with spaces.
--sb--