Leave off the dash, and seperate parameters with commas. For instance, you should be able to run the below by using:
c:\ac\account.exe L
I think that all parameters passed this way come in as character, so you may have to convert to other data types if needed.
>Hello all
>
>I need to run EXE with parameters like
>
>c:\ac\account.exe -L
>
>it is not work if run VFP and type in command window
>
>do c:\ac\account.exe with "L"
>
>its work properly.
>
>How i solve this. Please tell me any body
>
>thank you
Brian McCord
President
Sagacity Systems