Echo off but messages are displayed

后端 未结 5 1815
梦谈多话
梦谈多话 2021-01-30 15:40

I turned off echo in bat file.

@echo off

then I do something like this

...
echo %INSTALL_PATH%
if exist %INSTALL_PATH%(
echo 22         


        
5条回答
  •  鱼传尺愫
    2021-01-30 16:29

    "echo off" is not ignored. "echo off" means that you do not want the commands echoed, it does not say anything about the errors produced by the commands.

    The lines you showed us look okay, so the problem is probably not there. So, please show us more lines. Also, please show us the exact value of INSTALL_PATH.

提交回复
热议问题