Thank jeb.
It works !
You saved my day, thanks a lot !
/jamil
Search found 2 matches
- 18 Jun 2018 14:35
- Forum: DOS Batch Forum
- Topic: Line read in a loop from a file doesn't assign properly in batch program
- Replies: 2
- Views: 3004
- 18 Jun 2018 10:21
- Forum: DOS Batch Forum
- Topic: Line read in a loop from a file doesn't assign properly in batch program
- Replies: 2
- Views: 3004
Line read in a loop from a file doesn't assign properly in batch program
I am reading each line of a .txt file in a .bat program using For /f loop. The .txt file contains all the names of the test cases (e.g. ShipmentPostErrorPathXPERF.txt ) which I need to read and assign to a variable called testCaseName and pass this to another .cmd program as a parameter and continue...