Having some difficulty with the delayedexpansion in cmd.
This might be a stupid question but is there any way of summing within a function (ie without 'set') or using !
within !
(or something to the same effect); for example could ~%%n+%y%
in the case below be treated as the sum of its parts by use of brackets or should I just come at it from a different angle?
for /l %%n in (10 1 36) do (
for /f %%a in ("!alpha:~%%n+%y%,1!") do (
set "code=!code:%%n=%%a!"))
Any help would be greatly appreciated. Thanks