Greetings,

I have this code:
w=new WindowsShortCutMBS
w.Command=0
w.Location=h.Child(d.Name+".lnk").AbsolutePath
w.Target=d.Child(s).AbsolutePath
w.WorkingDirectory=Volume(0).AbsolutePath
if not w.CreateShortCut then
  ShowError "The shortcut for the service of the application couldn't be 
created."
  Return
end if

However, by stepping through the code, once the “w.Location” line is passed, I 
see Windows asking for resolving the shortcut (which is pointless since I want 
to create one). It's on WindowsXP. h is a folder inside “Program files” and d 
is a file I want to copy there.
It's me who has not understood the concept of this class, or there's a bug?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to