Thanks Steve and Fargo.

TrueItem / TrueChild were the clues I needed.

I had never used them before and have just learned something new.

Art

> Does anyone have a method to delete shortcuts using RB? I've tried
> 'sample' and 'sample.lnk' in a folderitem without success. I can
> point to them but not delete them.
>

You need to use TrueItem or TrueChild

This works for me.

   dim f as FolderItem
   f = DesktopFolder.TrueChild("myTest.lnk")
   f.Delete

-- 
Steve Garman

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to