Quote:
Originally posted by Dark Boy
You close $R1 and you trying to read it again, maybe:
|
DeleteINISec doesn't operate on my file handle, I'm pretty sure I
have to close it so DeleteINISec can write to the file.
Quote:
Originally posted by deguix
Contents preserved? So can only read, because the contents are preserved. So use the "w" for write.
|
No, I quote from the documentation:
"a" (append, meaning opened for both read and write, contents preserved)
There's a slim chance that there are other sections in wininit.ini, that's why I can't just use mode "w", which would create an entirely new file.