Re: Renaming Files/Folders
Re: Renaming Files/Folders
- Subject: Re: Renaming Files/Folders
- From: James Quick <email@hidden>
- Date: Sun, 13 Jul 2003 01:13:36 -0400
On Saturday, July 12, 2003, at 11:00 PM, Simone Manganelli wrote:
Is there any easy way to rename files and folders on the startup drive
easily? I looked at some of the functions for NSWorkspace, but it
only moves and copies files and folders, but it can't rename them
(unless I'm mistaken).
Well, if you move item I'mNamedA to I'mNamedB (as long as you check
that the second
name is absent, of course), then move is rename.
Creating folders is another thing I was wondering about.
That's such a basic task, why not just use the system call, mkdir?
Read man 2 mkdir for information.
int mkdir(const char *path, mode_t mode);
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.