PDA

View Full Version : Accessing information of burn folder




akashnem
Dec 22, 2009, 10:11 PM
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
Dec 22, 2009, 10:18 PM
You can use Carbon functions to get this info. See FSIsAliasFile () and FSResolveAlias()