Possible to Use Label Name as a Variable?
Posted: 16 Mar 2018 22:48
I have a batch file that will call to various functions where the label name is also used in the function.
For example (ALMOND in this example):
I wanted to know if there's any variable like %0 for the label in a batch file. Thank you in advance.
For example (ALMOND in this example):
Code: Select all
:ALMOND
XCOPY \\SHARENAME\ALMOND \ALMOND /F/R/E/S/H/K/Y/D/C/L
GOTO :EOF