How can I read Line by Line, from a text file ?

----TEXTFILE---
C:\Windows
C:\Windows\System
C:\Windows\Start Menu
------END------

And I want to get line by line and place it in a variable ?!
How ?