View Single Post
  #2 (permalink)  
Old 07-05-2009, 05:34 AM
Fubarable's Avatar
Fubarable Fubarable is offline
Moderator
 
Join Date: Jun 2008
Posts: 6,449
Rep Power: 8
Fubarable is on a distinguished road
Default
You can't input and output to the same source file. Instead how about writing to a dummy file, then after complete, rename it to the source file's name, thereby overwriting the source file.
Reply With Quote