change a data in a line of a file

hi guys, may i knw are they any way to change a data in a line of a file???

eg:
halo
bye
girl

change to:

halo
boy
girl.
You can't change a line directly, but you can read all the lines, make the changes and write them back.
google type refactoring batch file , then call it from your code. very simple.
Topic archived. No new replies allowed.