The /D is one of the VFP command-line switches. See
How to pass parameters to VFP EXE FAQ #17861
>
>I need to pass two types of parameters to my application and it seems like VFP does not like /D as a startup parameter or is it just me?. The /Q type Parameter needs to handle multiple sub-paramters seperated by a semi-colon ";"
>
>I have a shortcut on my desktop (XP-Pro SP2, VFP9 SP1) which points to my app's exe and if I use the string mentioned below in the shortcut's Target: I get an error messagebox "The VFP9R.DLL file is invalid or damaged." and the exe does not start.
>
>
>Target: C:\Apps\MyApp\Rev01\myapp.exe "/QTestQ1;TestQ2 /DTestD1"
>Start in: C:\Apps\MyApp\Rev01
>
>
>But if I change the target as mentioned below it works.
>
>
>Target: C:\Apps\MyApp\Rev01\myapp.exe "/QTestQ1;TestQ2 /FTestD1"
>Start in: C:\Apps\MyApp\Rev01
>
>
>It looks like it does not like "/D". If I replace "/D" with "/F" or "/X" etc. it works
>
>Is "/D" a reserved word to something like that?
>
>Thanks.
>
>Sarosh
--sb--