dgiot/bin/emqx_ctl.cmd
2022-12-29 18:13:09 +08:00

12 lines
257 B
Batchfile

:: The batch file for emqx_ctl command
@set args=%*
:: Discover the release root directory from the directory
:: of this script
@set script_dir=%~dp0
@for %%A in ("%script_dir%\..") do @(
set rel_root_dir=%%~fA
)
@%rel_root_dir%\bin\emqx.cmd ctl %args%