Very good, I'm studying, I'm a beginner
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
StickyI
View 153,290 Replies 216
Originally posted by rs369007 at 2008-12-8 14:44:
setlocal enableDelayedExpansion
pause
set VAR=before
if "%VAR%" == "before" (
set VAR=after
if "!VAR!" == "after" @echo If you see this, it w ...
:
① The label locator indicates that the subsequent string is a label, which can be the object of the goto command. For example, if a ":begin" label is defined in a batch file, the "goto begin" command can be used to jump to the position after the ":begin" label to execute batch commands.