|please, does anyone can help me with this batch: why it is failing the string substitution which is supposed to do as assigned to the variable "new"; in the output instead of the "new" string there is very simply nothing! |
@echo off & setLocal EnableDelayedExpansion
for /l %%a in (1,1,366) do (
set /A idx+=1
if !idx! lss 10 set fno=0!fno!
if !idx! lss 100 set fno=0!fno!
if !idx! lss 1000 set fno=0!fno!
for /f "tokens=* delims=" %%b in (gst_!fno!.upl) do (
echo !str! >> gst_!fno!.tmp
this is somehow a follow up to one of my previous thread
I hope I'm not boring you all to death with this staff