>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.
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]