|See below, is this ok?|
open notepad, copy and paste below into file.
@FOR /F %%a IN (c:\abc.txt) DO echo hi %%a
save file as c:\names.bat, ensure abc.txt is on the root of C:
open command prompt and type c:\names.bat and press enter.
You could pipe this out to a file if you like.