Boost logo

Boost :

From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2002-07-15 18:35:36


"Tom Harris" <TomH_at_[hidden]> wrote in message
news:D1CF0387F1A4D51182B600D0B7A7A95F0714F3_at_uluru2.optiscan.com.au...
> The boost::filesystem::rename() function cannot move a directory to
> a different drive on Windows as it uses the ::MoveFile call.

Files can be moved between filesystems on Win32 by using SHFileOperation
instead of MoveFile. Personally, I'd rather have the limitation documented
& keep the filesystem library insulated from the shell API.

-cd


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk