For the parameters, would %* work as well? So the file would be:

@rem load J console
@rem run from the J install directory
@cd /d %~dp0
@set QT_PLUGIN_PATH=%~dp0bin
@bin\jconsole.exe %*

On Wed, Dec 19, 2018 at 9:51 AM Devon McCormick <[email protected]> wrote:

> Hi -
> I have recently - again - fixed the issue I have with running
> image-processing routines - basically just read and write an image file -
> under a command-line jconsole.  This has been an issue for me because of
> the built-in assumption that anything image-related is tied to Qt.
>
> As part of my fix, I added this line to "jconsole.cmd":
> @set QT_PLUGIN_PATH=%~dp0bin
> and changed the final line to this:
> @bin\jconsole.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
> in order to pass any command-line arguments to the console.  See
>
> https://code.jsoftware.com/wiki/User:Devon_McCormick#Solving_Problem_Reading_Images_in_JConsole
> for more information about this fix.
>
> Is it possible to add these changes into the distributed version of J so I
> don't have to make them every time I upgrade it?  I don't think they would
> affect many people - if any - and they add some functionality.
>
> Thanks,
>
> Devon
> --
>
> Devon McCormick, CFA
>
> Quantitative Consultant
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to