• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loop thru lines in text file

 
naresh kumar mallala
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know how to loop through each line in a text file using a Windows batch file and process each line of text in succession.

this is my actual line of code for direct input as 10307:409

si resynccp --allowOpenCP --sandbox="C:\Sandbox\EPIC7.9\EPC.pj" --noconfirm --merge --backFill=cp --notify=onCompletion --mergeType=automatic --ignoreBranches --onMergeConflict=cancel --continueOnErrors --batch --forceconfirm=no 10307:409

but I want to take input from text.txt line by line

text.txt contains

10307:409
10307:410
10307:411


please help me.....

thank you all!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic