[futurebasic] Re: [FB] Rename a file using CFURLRef

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2013 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Sat, 29 Jun 2013 09:56:38 -0700
Ken wrote:
> I’d be curious to see what happens when you try to rename a file without an extension.

fn ConsolePrintCFType prints from my posted code confirm a file named "file with no extension" to "A new name" works.

oldURL contents before rename:

tempURL contents after fn CFURLCreateCopyDeletingLastPathComponent:

newURL contents after fn CFURLCreateCopyAppendingPathComponent

Since the code was written quickly, issues are likely. Please let me know and I’ll try to fix them.

Brian S.