Batch Script To Read Text File Line By Line, BAT file in Notepad, right-click it and choose Edit from the menu.