Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

akashnem

macrumors newbie
Original poster
Nov 12, 2009
2
0
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?
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
You can use Carbon functions to get this info. See FSIsAliasFile () and FSResolveAlias()
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.