解释Windows批量换行变量hack的工作原理
有人可以解释这是如何工作的吗?
@echo offREM Creating a Newline variable (the two blank lines are required!)set NLM=^set NL=^^^%NLM%%NLM%^%NLM%%NLM%REM Example Usage:echo There should be a newline%NL%inserted here.
发出:
There should be a newlineinserted here.
ibeautiful