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