Displaying SET variable

后端 未结 1 1054
闹比i
闹比i 2021-01-23 14:16

can i see the value of variable using ECHO command? I tried this way but didn\'t work.

@echo off
set _src = String
echo %_src%
pause
1条回答
  •  感情败类
    2021-01-23 14:51

    Take the spaces out either side of your equals sign and this should work.

    0 讨论(0)
提交回复
热议问题