Below is some code adapted from something I think was written by Mark
Hammond. Originally I needed to create a Windows shortcut (link), and
this code does the trick, requiring only the target filename and the
desired shortcut name.
Now, I find I need to open a shortcut and extract the target filena
persist.Load('someshortcut.lnk')
print sh.GetPath(shell.SLGP_RAWPATH)[0]
hth
Roger
"Steve M" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Below is some code adapted from something I think was written by Mark
> Hammond. Originally I needed to create a Windows shortcut (li