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

Moving a file between volumes



No, I am not using Cocoa, just Carbon.  I will look those NS functions 
up and see if I can use them.

I am new to this whole thing, why is cross-posting evil?  I wasn't sure 
which list would be better.  Is this list for Cocoa only?

Sorry, it won't happen again,
Randy

On Mar 2, 2004, at 9:02 AM, j o a r wrote:

> 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?
>