• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Aidas Dailide <email@hidden>
  • Date: Mon, 24 Feb 2003 20:30:07 -0800

Hi David,

I think chdir is not what you want. You should look at NSFileManager in Foundation framework command - (BOOL)changeCurrentDirectoryPath:(NSString *)path.
Here is how it should look:
BOOL sucChanged;
sucChanged=[[NSFileManager defaultManager] changeCurrentDirectoryPath:@"/directory/you/want"];

Hope this helps,

Aidas
_______________________________________________
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.

  • Prev by Date: Re: New to Cocoa
  • Next by Date: Getting filenames of NSImage(s)
  • Previous by thread: (no subject)
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread