|I have two .CMD files, let say FILE1 and FILE2.|
FILE1 contains hundred lines to be executed by FILE2 (FILE2 is called from within FILE1). FILE2 picks up a line from FILE1 and executes given command.
script is supposed to work in such a way that next line from FILE1 gets executed when FILE2 runs.
Problem is just first line from FILE1 gets executed again and again by FILE2.
when run it should go like....
abc >> def >> ghi >> jkl and so on....
However it is running like.....
abc >> abc >> abc >> abc and so on....
any idea how do i make FILE2 to pick new line, from FILE1, to be executed????