• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Renaming Files/Folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Renaming Files/Folders (From: Simone Manganelli <email@hidden>)

  • Prev by Date: Re: Linking a function to NSButton
  • Next by Date: gdl2 (was Re: Linking problems with PostgreSQL)
  • Previous by thread: Re: Renaming Files/Folders
  • Next by thread: Linking a function to NSButton
  • Index(es):
    • Date
    • Thread