From: Peter Szinek Date: 2007-02-04T05:59:48+09:00 Subject: yet another linux <-> win32 question Hi, Sorry for these dumb questions but I am really off when it comes to doing anything with win32. So, the thing is that I have a function that creates a temp file, then does something with it and deletes it. I am doing this with File.delete(temp_filename) On linux this script runs without any problems, however under windows I am getting 'Permission denied (Errno::EACCESS). Since the file is unquestionably deletable, I think maybe windows locks it for whatever reason (or maybe not) - am I doing something wrong, or if not, is there a workaround for this? Thanks, Peter __ http://www.rubyrailways.com