Invoke a wine installed application from command line

I have installed DivX player using wine in my ubuntu. I would like to invoke the player from terminal. Is it possible? If yes, how?

Thanks in advance.


Solution 1:

If you are using wine installed from the repositories then wine related files is stored in a folder called ~/.wine

Windows programs are stored within this folder - for example ~/.wine/drive_c/program_files/Internet Explorer

You can start a windows program in a similar way as from a command line in windows but prefix it with wine

for example

wine "c:\program files\internet explorer\iexplore.exe"

Thus if your divx called (for example) divxplayer.exe is installed - for example in ~/.wine/drive_c/program files/divx

then you can start your wine divx player

wine "c:\program files\divx\divxplayer.exe"