mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-29 18:57:41 +08:00
12 lines
257 B
Batchfile
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%
|