Can i execute a windows shortcut as command line ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bqueiroga
Newbie
Newbie
Posts: 1
Joined: Tue Mar 26, 2019 10:12 am

Can i execute a windows shortcut as command line ?

Post by bqueiroga » Tue Mar 26, 2019 12:54 pm

Hi!
Can i execute a windows shortcut by wine in a linux virtual machine or a command in Wine/Linux with the same parameters (Target, Start in, shortcut key) ?

User avatar
DarkShadow44
Level 7
Level 7
Posts: 910
Joined: Tue Nov 22, 2016 5:39 pm

Re: Can i execute a windows shortcut as command line ?

Post by DarkShadow44 » Mon Apr 01, 2019 12:10 pm

Yes you can.

Code: Select all

wine start MyApplication.lnk

lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Can i execute a windows shortcut as command line ?

Post by lahmbi5678 » Tue Apr 02, 2019 9:20 am

What exactly are you trying to do? Is that application installed in linux/wine or is it on a Windows partition? If you want to run an application in wine, you should install it in wine/linux. It is absolutely not recommended to run Applications from a windows partition in wine, this can mess up the registry in the Windows partition and damage Windows files.

Locked