Changing the properties of a .lnk shortcut?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
arielCo
Newbie
Newbie
Posts: 2
Joined: Sun Aug 03, 2014 9:54 pm

Changing the properties of a .lnk shortcut?

Post by arielCo »

In Wine, .desktop shortcuts actually invoke `start.exe /Unix /home/me/.wine/dosdevices/..../myapp.lnk´.

Besides copying the file to a Windows machine, how do I modify said `.lnk´ shortcuts (e.g., to change the shortcut's target or working directory) once created? Running `wine explorer.exe´, and right-clicking > Properties on the .lnk does nothing.

Best regards!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Changing the properties of a .lnk shortcut?

Post by dimesio »

arielCo wrote:how do I modify said `.lnk´ shortcuts (e.g., to change the shortcut's target or working directory) once created?
You don't. Make those changes to the .desktop file via your menu editor. You can also change the desktop link to point to the executable rather than the .lnk file. If you really need to change something in the .lnk file's properties (such as permissions) do it through a native file manager.
arielCo
Newbie
Newbie
Posts: 2
Joined: Sun Aug 03, 2014 9:54 pm

Re: Changing the properties of a .lnk shortcut?

Post by arielCo »

Just what I thought. There is some info on the format at http://msdn.microsoft.com/en-us/library/dd871305.aspx, but methinks there are more important things right now. Thanks for confirming!
Locked