[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving a file between volumes



FYI: Cross-posting is evil...

If you were using Cocoa I assume that the move operation found in 
NSWorkspace (AppKit) or NSFileManager (Foundation) would do the trick? 
Based on your cross post I don't assume that you're using Cocoa 
though...

j o a r

On 2004-03-02, at 17.49, Randy Croucher wrote:

> Is there a rename/move file call that will work across volumes?  Or do 
> I need to determine if the two paths are on different volumes, and 
> either call rename or some sort of copy and delete?  If I do need to 
> copy and delete it, what calls would those be?  Has anyone already 
> written a function to do this?