>>I am trying to do this:
>>
>>openfiles /query /fo csv /nh > c:\vv\vv_csv.csv
>>
>>..I've tried all the ways I know to execute dos commands from VFP -- they all fail. I've put it in a one line .bat file, tried RUN command, tried shellexecute , etc.
>>
>>If I go to the DOS prompt and run the command it works fine -- so I know syntax and rights and all that is setup.
>>
>>Been stuck on this for 1/2 day -- anyone got any ideas here??
>
>The application should be ran as administrator if you wan to use openfiles command.
>Even if you simply run CMD this command will not run.
I'm logged in as an administrator ... if I run CMD the command runs fine.
ICQ 10556 (ya), 254117