set AGENT_BOND_JAR=
for /r %JBOSS_HOME%\modules\system\add-ons\ispn\io\fabric8\agent-bond\ispn-9.4 %%X in (*.jar) do (
  set AGENT_BOND_JAR=%%X
)
set JAVA_OPTS=%JAVA_OPTS% -javaagent:%AGENT_BOND_JAR%=%1