If echo is disabled by default within a Windows batch file, is there a way to enable it "inline" for a specific command? I know that echoing of a specific command can be disabled by prepending "@" to the command, but is there a way to do the opposite of this?
For example, suppose a batch file like this:
@echo off
cmd1
cmd2
cmd3
:EOF
How could I force echo'ing of, say, cmd2 above?
您不能简单地通过@echo on
开启您的批处理cmd2
并以@echo off
结束结尾吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.