• 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: avoid space in path names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid space in path names


  • Subject: Re: avoid space in path names
  • From: Markian Hlynka <email@hidden>
  • Date: Tue, 13 Dec 2005 17:20:20 -0700


On Dec 13, 2005, at 14:46, Stefan Werner wrote:

Hi everyone,



Just as a heads up: try to avoid spaces in your paths and configuration names. I know it may be awkward having to do this on a Mac in 2005, but the gods of Unix demand it. I just stumbled over another case where Xcode 2.2 refused to build because I had a space in the name of my hard drive (bug has been filed, #4377118). So, save yourself some headaches and avoid any spaces in paths in the post-FSSpec world.


I haven't had too many problems, and frequently pass around paths such as
"\"/CodeGen/Games/Lose Checkers\""


note my solution of quotes. You can also us "\ ", but I prefer the quotes, as you can then take paths that are given to you by the system. ie, calls like getwd don't use \ in front of a space (I don't think). if you put quotes around your file names, you don't have to worry about it.

I realize that you're talking about a slightly different problem, but that's my two cents.

Markian

----
Early to bed and early to rise, makes a man stupid and blind in the eyes.
--Mazer Rackham



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >avoid space in path names (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: Xcode 2.2 Hanging when changing page size of a model view
  • Next by Date: Re: Different structure sizes
  • Previous by thread: Re: avoid space in path names
  • Next by thread: Re: avoid space in path names
  • Index(es):
    • Date
    • Thread