... From: Antoine J. Mechelynck Date: Sun, 17 Nov 2002 10:21:37 +0100 To: Subject: Re: write permission ...
Message 1 of 4
, Dec 3, 2002
----- Original Message -----
From: "Antoine J. Mechelynck" <antoine.mechelynck@...>
Date: Sun, 17 Nov 2002 10:21:37 +0100
Subject: Re: write permission
> That's under Unix (including Unix-like systems like Linux or cygwin). Under
> DOS or Windows it's not so clean: Try to create a workfile (a file for which
> the OS gives you a name which is guaranteed not to exist yet). If the
> open-output fails, it means you cannot write to the current directory
> (either read-only, or no free entries and disk full).
Hmmm, for Win2K (NT as well I believe), this works, too, which would actually avoid from creating a temp file: