Page 1 of 1

Running a .BAT file called from a procedure using Chrome

Posted: Mon Nov 26, 2018 4:37 pm
by mgreenberg@amref.com
Hello. We just purchased the Genie product and are working thru a few hiccups. This post references a CSV uploaded table into the IBM i that is called from a procedure on the IBM i that references a .BAT file on the user's C: drive. Using IBM's ACS green screens it works fine. It also works when using Genie running with IE11. However, it does not run when Chrome is the browser being used by Genie. Has anyone come across this issue and hopefully resolved it ?

Re: Running a .BAT file called from a procedure using Chrome

Posted: Mon Nov 26, 2018 5:36 pm
by Scott Klement
Hi Martin,

How are you running the .BAT file?

Re: Running a .BAT file called from a procedure using Chrome

Posted: Mon Nov 26, 2018 5:44 pm
by mgreenberg@amref.com
Hi Scott.

We start the PC organizer and then do a STRPCCMD....

STRPCCMD PCCMD('C:\ARG_GL_UPLOAD_JE\GLULJE.BAT')

Here is the .BAT file...........

C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_i386-32\acslaunch_win-32.exe /plugin=upload c:\arg_GL_UPload_je\glulje.dttx

Just running a standard ACS file transfer upload.

Re: Running a .BAT file called from a procedure using Chrome

Posted: Mon Nov 26, 2018 5:52 pm
by Scott Klement
The original versions of Profound UI (including Genie) used a Java Applet to enable STRPCCMD support. In recent years, Chrome (and some others) have discontinued support for Java Applets, preventing this from working. This is likely why it works for you in an older (discontinued) browser like IE 11, but does not work in newer stuff like Chrome or Edge.

We provide two alternatives to the Java Applet. The PC Command Listener and the PC Command Launcher.

The Listener has more features and supports more different PC Command types -- but the Launcher works better on a shared box, such as one using Windows Terminal Services or Citrix.

You can learn more about how to configure Genie for these options here:
http://www.profoundlogic.com/docs/displ ... ration+API

You can download the Listener and Launcher from our download page
http://www.profoundlogic.com/download

Re: Running a .BAT file called from a procedure using Chrome

Posted: Mon Nov 26, 2018 5:53 pm
by mgreenberg@amref.com
And that's why you make the big bucks...Thanks.