in reply to Modifying a file

mukeshbaranwal:

What error messages are you getting? What have you tried? From your post, I'd guess that you're changing the data in memory, but not actually writing it to disk.

...roboticus

When your only tool is a hammer, all problems look like your thumb.