Hi,
the original article deals with the issue of having the agent installed in C:\Program Files
The space between Program and Files is creating an issue. Which version of the Windows agent are you using?
As a workaround the article suggest setting UC_EX_JOB_MD in the agents .ini file to something like:
C:\PROGRA~1\Automic\..........\AgentWin\bin\UCXJWX6M.EXE
However, that error should not appear, because it is taken care of the space character in the HEADER.WINDOWS object in client 0.
Please double check whether it contains the following section:
:IF &UC_WIN_TYP = "BAT"
:SET &UC_JOBMD = GET_VAR(UC_EX_JOB_MD)
:IF STR_FIND(&UC_JOBMD, ' ') GT 0
: IF STR_FIND(&UC_JOBMD, '"') EQ 0
: SET &UC_JOBMD = '"&UC_JOBMD"'
: ENDIF
:ENDIF
Regards, Markus
Original Message:
Sent: Jan 11, 2024 06:03 AM
From: Stephan Kanditt
Subject: Re: 'JNR' is not recognized as an internal or external command, operable program or batch file.
We face the same here after upgrading our Evaluation to V21. Is there any chance to see the old Knowledge entry ? Link does not work anymore ...
Original Message:
Sent: Mar 06, 2019 03:33 AM
From: FrankMuffke
Subject: Re: 'JNR' is not recognized as an internal or external command, operable program or batch file.