--- In [email protected], sgp <[EMAIL PROTECTED]> wrote: > > I can't get file.resolve() to return the path of the resolved shortcut, can anyone? > > file.createshortcut(?"c:\path\prog.exe"),?"c:\temp\shortcut") > => 1 and creates c:\temp\shortcut.lnk > > file.resolve(?"c:\temp\sss.lnk") > => "" should be c:\path\prog.exe <<< ISSUE
This works fine for me file.createshortcut(?"c:\temp\tester.txt",?"c:\temp\shortcut.lnk") win.debug(file.resolve(?"c:\temp\shortcut.lnk")) Assuming the sss vs shortcut is not the issue, make sure you also specify the .lnk explicitly.
