Gaven, you mentioned shell.application as a possible option ? Heres something cobbled together from bits and pieces of this and that ...

btw, unless i read you wrong and your not looking for shell.application, go easy on me ? [Wink]


break on

$FOLDER = "F:\"
$SHORTCUT = "NOTEPAD.LNK"

$objShell = CreateObject("Shell.Application")

$objFolder2 = $objShell.NameSpace($FOLDER)

if ($objFolder2)

$objFolderItem = $objFolder2.ParseName($SHORTCUT)

if ($objFolderItem)

$objLink = $objFolderItem.GetLink

if ($objLink)
?"Shortcut: $SHORTCUT"?
?"Arguments=" $objLink.Arguments
?"Description=" $objLink.Description
?"Path=" $objLink.Path
?"ShowCommand=" $objLink.ShowCommand
?"Target=" $objLink.Target
?"WorkingDirectory=" $objLink.WorkingDirectory

endif

endif

endif


-Shawn

[ 09. July 2003, 03:23: Message edited by: Shawn ]