>>>cut "c:\" in lpDirectory param (you already specified a complet location of exe)
>>>
>>>?ShellExecute(0, "open", "C:\Program Files (x86)\Git\git-bash.exe", "", "", 1)
>>>
>>
>>This is working directory -
C:\ was example only. It does not matter. git-bash is somehow wrapping / wrapped and will not work the right way with VFP calling it.
>
>A stab in the dark: check the account under which it's running in each case. I know both should be you, but just indulge me.
just plain me. VFP open from scratch, word too. Explorer and cmd too.
:(
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]