Greetings,

I want to get data from some aliases. These aliases are broken since I  
moved all my folder of original files to another disk and I want to  
know the path previously pointed by each alias. So I can't resolve  
them, I want to repair them.

I have two choices, but both seem to be not suitable:

The MacAliasMBS class might do it, but there's no ShellPath property  
or such. I could only find the original path using something like this:

i=1
do
s=Alias.GetInfo(i)
t.Append s 'Make an array of sub folders
if s="" then exit 'No more parent
i=i+1
loop
(code untested; it's what I'll do if this is the right solution)

However, it defeats the meaning of aliases (that is, to find an item  
even when several volumes have the same name).

Or there's the AliasMBS class, but there are just 2 constructors (the  
"dummy" one, as said in the documentation, and another that takes an  
"handle as integer" parameter, but I don't see the handle of what  
should be passed). I've found 2 examples for aliases that aren't  
useful for my problem.

I've missed the obvious?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to