Re: Changing file & directory names
Re: Changing file & directory names
- Subject: Re: Changing file & directory names
- From: Rosyna <email@hidden>
- Date: Sat, 1 Jul 2006 17:26:03 -0700
See FSRenameUnicode(). The text encoding can be kTextEncodingUnknown.
Ack, at 7/1/06, Dean Snyder said:
I don't want to actually write the contents of a file, or copy & delete,
etc., I just want to rename an existing file or directory. You'd think
that [myNSFileWrapper setFilename:newName] or [myNSDocument
setFileURL:newURL], for example, would do the trick; but no, they do not
do what it sounds like they should do, they merely set internal variables.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden