On Thu, 11 Oct 2001 09:30:40 GMT, Erik Naggum <e
...@naggum.net> wrote:
>* mas
...@alum.mit.edu (JP Massar)
>| Allegro does not; RENAME-FILE tells you that the file FOO does not
>| exist. (nor does including a terminating '/' work). The only way
>| to rename a directory is to use implementation-specific EXCL:
>| functions to copy the directory and then delete the old one.
> Are you sure the file that holds the directory is not _actually_ called
> something else? foo.dir or something? As far as I know, it is fairly
> unique to Unix to have directories that are available in the file system
> as files with exactly the same name as the directory. But I have made it
> a point of personal pride not to be infected by STDs or Microsoft.
The Windows API function 'MoveFile' works fine to rename a directory