[Bug 7762] lnk files created by Wine have invalid target

Wine Bugs wine-bugs at winehq.org
Tue Mar 27 18:09:28 CDT 2007


thestig at google.com changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
            Summary|Error using                 |lnk files created by Wine
                   |FileCreateShortcut cmd in   |have invalid target
                   |AutoHotkey script           |

------- Additional Comments From thestig at google.com  2007-27-03 18:09 -------
The lnk files created by Wine look mostly correct, but do not work.

I tried the following with Autohotkey:

FileCreateShortcut, c:\windows\notepad.exe, bar.lnk, c:\windows, "foo bar",
Test, , X, , 3

This should create a shortcut named bar.lnk that points to notepad.exe, with:
argument: "foo bar"
comment: "Test"
hotkey: Ctrl+Alt+X
that starts maximized.

When I copy the bar.lnk file to a Windows XP machine, Windows recognizes the
file as a shortcut. It has the correct comment, hotkey, and is set to start
maximized. The important thing that's missing is the pointer to the notepad.exe

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list