I want to generate a random number in a For Loop like that (part of it):
FOR /F "delims=, eol=; tokens=1,2" %%a in (DATA.TXT) DO (
SET min=10000
SET max=99999
SET /a passwort=!min!+(!max!-!min!+1)*%random%/32768
)
Unfortunately, it returns this error:
"*[randomly generated number]/32768" cannot be processed syntactically at this point.