Perform a loop command once and then continue loop?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
mono323
Posts: 1
Joined: 26 Apr 2023 09:02

Perform a loop command once and then continue loop?

#1 Post by mono323 » 26 Apr 2023 09:07

Hello,

in Attachments is my current Bat code.
It does output all the contents of the csv my only problem is it overrides the ip= until it reaches the bottom of the csv.
What i want it to do is set ip of line 1 then perform plink perform all commands from befehle.txt then continue with line 2 until it reaches the bottom of the csv.
I have no clue how to do that yet. Any ideas?
Attachments
dos.jpg
dos.jpg (56.69 KiB) Viewed 19941 times

Post Reply