How to define a folder while run-batch from jboss-cli

556 Views Asked by At

How can I define a folder (e.g. relative to jboss.server.config.dir) where the cli script lies while running run-batch --file=path/to/cli/script.cli in jboss-cli? Auto-completion of a command run-batch --file= in jboss.cli shows that the jboss.home.dir+/bin is the default folder. E.g.:

[standalone@embedded /] run-batch --file=script.cli
The batch failed with the following error: : File d:\wildfly25\bin\script.cli does not exist.
0

There are 0 best solutions below