Charles Srstka wrote:

I tried this, and it doesn't seem to have anything to do with HFS+ paths, as Cocoa abstracts colons away into slashes there anyway. What's more, it only does this if you have only one letter before the colon, as in @"C:omponent". If you use @"CC:omponent" instead, it doesn't split it. If anything, it seems to look like it's thinking the path is an MS-DOS path which starts with a drive letter.

If that's the case, then try prefixing the relative path "C:omponent" with "./". This should not change the semantics of a real relative pathname, but it should prevent the "C:" from being interpreted as a drive letter.

  -- GG

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to