• 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
Creating directories if they don't exist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating directories if they don't exist


  • Subject: Creating directories if they don't exist
  • From: Francisco Tolmasky <email@hidden>
  • Date: Mon, 15 Sep 2003 23:01:01 -0700

In Project Builder, with the assistant, if you put a a path and some of the components don't exist it will create them for you. For example, ~/Documents/somethingnew/somethingelseNew/ then it creates somethingnew and somethingelseNew for you. Is there a built in function to do this, or will I have to manually check path component by path component to see whether it exists and whether it will need to be created?

Any help is greatly appreciated and thanks in advance :),

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.

  • Follow-Ups:
    • Re: Creating directories if they don't exist
      • From: Hasan Diwan <email@hidden>
    • Re: Creating directories if they don't exist
      • From: Shaun Wexler <email@hidden>
  • Prev by Date: Re: Country code or name
  • Next by Date: Moving ImageView's origin within a ScrollView to top-left
  • Previous by thread: File Recovery
  • Next by thread: Re: Creating directories if they don't exist
  • Index(es):
    • Date
    • Thread