6 REM Set intermediate env vars because the %VAR:x=y% notation below
7 REM (which replaces the string x with the string y in VAR)
8 REM doesn't handle undefined environment variables. This way
9 REM we're always dealing with defined variables in those tests.
10 set CHK_HOME=_%AWS_CLOUDWATCH_HOME%
12 if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
14 "%AWS_CLOUDWATCH_HOME:"=%\bin\mon-cmd.cmd" mon-describe-alarms %*
17 echo AWS_CLOUDWATCH_HOME is not set