Mateusz Winiarski wrote:
> How to delete a file in Win XP ?
In what way doesn't it work? What error message are you getting?
I've had a problem with deleting opened files on WinXP (using
File.open). They're supposed to be closed automatically but that doesn't
necessarily happen immediately, but when Ruby or the OS gets around to
it. The answer is to close the file explicitly.
Another thing to look at is IO.sync.
Does that help at all?
Dave
--
Posted via http://www.ruby-forum.com/.