• 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
How to programmatically create a Finder Alias?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to programmatically create a Finder Alias?


  • Subject: How to programmatically create a Finder Alias?
  • From: Michael Mulligan <email@hidden>
  • Date: Sun, 31 Aug 2003 00:16:26 -0400

I am trying to programmatically create an alias for a folder. Is it
possible? I was trying to use NSFileManager to see if
linkPath:toPath:handler: would suffice, but it simply duplicates the folder
rather than creating any sort of link. I would rather not create a sym link
(as in run "ln -s linkname"), but rather, a true, Finder alias. Is there a
way to do this, or should I simply tell my users that they should create the
alias manually from the Finder?

Thanks!

-Mike

__________
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
__________
_______________________________________________
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: How to programmatically create a Finder Alias?
      • From: Scott Anguish <email@hidden>
    • Re: How to programmatically create a Finder Alias?
      • From: "James W. Walker" <email@hidden>
  • Prev by Date: Re: Enough with the newbie C questions!
  • Next by Date: Re: C
  • Previous by thread: Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • Next by thread: Re: How to programmatically create a Finder Alias?
  • Index(es):
    • Date
    • Thread