Page 1 of 1

simple bat file needed

Posted: 02 Mar 2021 08:43
by barnsleyfan
out of my depth but im sure this will be a doddle for some of you.
I have a file rnd.txt containing a number.
i need to create a loop that does something, then increments the number inside rnd.txt by 1, redo the something, and repeat for say 100 instances

(the something else is based upon the contents of the rnd,txt file)

is this dooable?

TIA

Re: simple bat file needed

Posted: 02 Mar 2021 11:03
by aGerman
The only tangible question I see in your topic is "is this dooable?", and the answer is yes.

viewtopic.php?f=3&t=6108

Steffen

Re: simple bat file needed

Posted: 02 Mar 2021 18:21
by ShadowThief
Is there anything at all inside rnd.txt other than the number? (Spaces, newlines, letters, punctuation?)