• 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
Relative file path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative file path


  • Subject: Relative file path
  • From: Ryan Zachary Hale <email@hidden>
  • Date: Sun, 23 Mar 2003 23:43:50 -0600

For my program, I have the user select a file, and I get the path. Currently, this is a absolute path, but I want to get the path relative to the current file's directory. So if I have the user select, for example, a CSS file to add to an HTML document, the link placed in the HTML code would reflect the path from the current document (like index.html).

Any help? Those responding will get credit in my App for this code.

Thanks,

Ryan Zachary Hale
email@hidden
_______________________________________________
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: Relative file path
      • From: j o a r <email@hidden>
  • Prev by Date: Distributed Objects, Threads, & graceful thread exits
  • Next by Date: Re: ctrl- 'key' event to NSTask
  • Previous by thread: Distributed Objects, Threads, & graceful thread exits
  • Next by thread: Re: Relative file path
  • Index(es):
    • Date
    • Thread