Cannot set a variable to another in a If block of Window cmd

后端 未结 0 1668
花落未央
花落未央 2021-02-03 16:54

I have a basic question. Struggling with setting variables within a if () bloc.

Below is my code.

@echo off 
setlocal 

set var1=variable1
set var1a=%var1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题