>Hi All,
>
>How to run a dos command in VFP and get the result in a string. Thanks beforehand.
One way is to redirect the DOS command output to a file, e.g.
SomeDOSCommand <optional parameters> >C:\DOSCommandOutput.txt
You can then use FILETOSTR() in VFP to read in the contents of C:\DOSCommandOutput.txt .
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up