>>>My DOS bat files don't seem to be executing correctly from VFP. I have a few command line programs (7zip, gpg.exe) that I'm trying to run either with a a run command or writing the commands to a bat file and calling that. I have the Cmd line set to cmd.exe instead of command.com in the foxrun properties and also tried %SystemRoot%\SYSTEM32\cmd.exe. The DOS cmd window pops up briefly but nothing is executing in the window itself.
>>>
>>>The bat files run fine from Windows Explorer.
>>
>>Can you run the file with ShellExecute?
>>
>>See also this
Re: DOS program works differently within VFP Thread #
1242242 Message #
1242302>
>I can, but there are other little utility prgs that are not under my control that make the batch files. Preferably, I'd like to just get it working properly. Thanks.
I meant invoking the batch file with the ShellExecute or the code I showed in that message.
If it's not broken, fix it until it is.
My Blog