WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: juergenk on January 12, 2022, 04:13:12 AM

Title: RUN diffrence
Post by: juergenk on January 12, 2022, 04:13:12 AM
Hello Guys,

i have the prolbem if i use the Run funktion the software start in other mode as windows.
RUN("Software.SAP","")

The link for SAP as attachment please kill ".txt" for use !

normaly this link start The SAP GUI for Windows example start mousdoubleklick at Windows at the icon

With the Run funktion the call start SAP Business client.
I will that Run start with SAP GUI for Windows.

Thanks for helping
Jürgen
Title: Re: RUN diffrence
Post by: kdmoyers on January 12, 2022, 06:29:06 PM
I wonder if ShellExecute would work better, with operation "Open"
Then maybe it would properly recoignize the SAP fileextension and do what you want?  Something to try.