>for i = 1 to f.count
>  if f.trueItem(i).directory then
>     //do recursion
>  else
>     //f.trueItem(i) makes a system messages appear saying the link is 
> unavailable
>  end if
>next

So, the way to skip dead shortcuts seems to be:

dim g as folderitem

for i = 1 to f.count
  g = f.truItem(i)//this makes the trick
  if g.directory then
     //do recursion
  else
     //do something with g
  end if
next

although I must say that I cant understand way the 'tick' is necessary, i.e. 
why going through the loop with f.trueItem(i) doesnt avoid the shortcut.

-- 
Carlo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to