Hi Hank,
The call via
cmd /c works. A bat file is just a different wrapper. I've done that before I switched to cmd /c . What I like to do is running without the wrapper at all.
Lutz
>There could be much better answers -- and the first thought that comes to mind is running a .bat file to which you pass parameters.
>
>Hank
>
>>Hi.
>>
>>Any idea how to tell VFP to run a 64bit program?
>>
>>I use API_AppRun to run a git with several parameters - this is for Bin2Text on VFPX
>>
>>The problem is git (if somebody like to test)
>>It could be installed as 64bit or 32bit
>>
>>So if it is a 32bit installation, I can run, for example
git log -1>temp.txt via APPRun.
>>This fails if installed as 64bit. I can call cmd calling git, like
cmd /c git log -1>temp.txt but that's so awkward.
>>
>>So what do I need to do that VFP can call the 64bit program?
>>
>>Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]