simple bat file needed

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
barnsleyfan
Posts: 1
Joined: 02 Mar 2021 08:37

simple bat file needed

#1 Post by barnsleyfan » 02 Mar 2021 08:43

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

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: simple bat file needed

#2 Post by aGerman » 02 Mar 2021 11:03

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

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: simple bat file needed

#3 Post by ShadowThief » 02 Mar 2021 18:21

Is there anything at all inside rnd.txt other than the number? (Spaces, newlines, letters, punctuation?)

Post Reply