emqx_ctl.cmd 259 B

1234567891011
  1. :: The batch file for 'emqx ctl' command
  2. @set args=%*
  3. :: Discover the release root directory from the directory
  4. :: of this script
  5. @set script_dir=%~dp0
  6. @for %%A in ("%script_dir%\..") do @(
  7. set rel_root_dir=%%~fA
  8. )
  9. @%rel_root_dir%\bin\emqx.cmd ctl %args%