> 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
Using REALbasic Professional on Windows XP Pro


_______________________________________________
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