Quick: Executing command in winecosole

Mission: Creating a desktop link to automatically launch a command line in wineconsole on dupuble-click without opening the terminal in the first place.
Do YOU know how to?

Hi
Just create a script in your ~/bin directory and create a shortcut
(launcher) to it. For example


#/bin/bash
/usr/bin/wine [wine options] ~/.wine.....<path_to_executable>

Make it executable with chmod 700 ~/bin/<name> and you should be good
to go. Not sure about any options as I use crossover.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 7:05, 2 users, load average: 0.06, 0.15, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Thanks, but it doesn’t work. The wineconsole window quits itself rapidly without any output (tested). I don’t use any options here - I just want wineconsole to open a certain batch file located in another folder.
That batch file itself contains further commands for wineconsole.

Hi
So what is the command you run from the terminal to start it?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 6 (i586) Kernel 2.6.31-rc6-3-desktop
up 20:29, 2 users, load average: 0.02, 0.06, 0.08
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Hey, thanks for being up that early. Over here it’s 03:09 in the morning. :wink:
First of all I start wineconsole cmd. Then, in wineconsole cmd the following command should be launched:

cd /home/TheMask/special/launcher.bat

What I basically want is to create a simple dektop button (inclusively picture) that starts wineconsole without letting the user see it and continues to load the batch in the cmd.

Hi
Not sure of the path but the command to run is wcmd, so do a locate or
which on wcmd, then create a file in ~/bin, chmod etc


#!/bin/bash
cd ~/special/
/usr/bin/wcmd launcher.bat

Reference: http://wiki.jswindle.com/index.php/Wineconsole


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 9:17, 2 users, load average: 1.48, 0.98, 0.51
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Thanks, worked flawlessly. :wink: