Accessing information of burn folder

Discussion in 'Mac Programming' started by akashnem, Dec 22, 2009.

  1. akashnem macrumors newbie

    Nov 12, 2009
    Can anyone let me know how do I get the information of the link of the files in the burn folder?
    I understand that everytime you drag a file inside a burn folder, it creates an alias. So now I am trying to access the file the alias points to. Ex. If the burn folder has hello.txt and points to /Users/Shared/hello.txt, how to I get the path /Users/Shared/hello.txt which the alias file hello.txt is pointing to?
    I tried using readlink and stat functions but they dont seem to work on the burn folder files.
    Any idea how should this be done?
  2. kainjow Moderator emeritus


    Jun 15, 2000
    You can use Carbon functions to get this info. See FSIsAliasFile () and FSResolveAlias()

Share This Page