Is production: true

CMD

Web Site

Tools

Basic

Set Comment

Adding rem as prefix would make the line to be comment

rem this is a line of commented text

Set/Read Variable

To set a variable in CMD, use set command of syntax set {variable_name}={variable_value}. No double quote to pass in, everything after = is reflected in the value.

To retrieved variable use two % enclosing the variable name

set a= " b"

echo %a%
rem e.g. ` " b"`

Related articles:

Initial CMD script
March 10, 2026 by Xeth [~1 mins]

CMD script initialization

#cmd