Hello,
I am wondering whether it is possible to run terminal (console) applications (for example batch files) without using
any GUI-elements of Crossover.
Thanks in advance, ashiaka
Important Information These are community forums and not official technical support. If you need official support: Contact Us
The following comments are owned by whoever posted them. We are not responsible for them in any way.
Back to Threads Reply to Thread
Hello,
I am wondering whether it is possible to run terminal (console) applications (for example batch files) without using
any GUI-elements of Crossover.
Thanks in advance, ashiaka
In the case of an .exe file, you'd start by creating a bottle in Crossover's Manage Bottles menu and set it as default in the "advanced" tab.
To create a default bottle without the gui, you'd use
$ ~/cxoffice/bin/cxbottle --create --bottle "mybottle" --template winxp --default
(whereas "mybottle" is the name of your new bottle)
With your default bottle in place, the command in terminal to run an .exe would be
$ ~/cxoffice/bin/wine --cx-app Y:/Downloads/launcher.exe
Y:/ corresponds to your $HOME directory. If your application is actually installed in the bottle (and thus it's launcher.exe file is within the bottle), you just need
$ ~/cxoffice/bin/wine --cx-app launcher.exe
I'm not entirely sure about batch files, though. Perhaps you need to run those with wine's command prompt, i.e.
$ ~/cxoffice/bin/wine cmb batchfile.bat
...bit of a typo there at the bottom of Jack's post -- should be ;
$ ~/cxoffice/bin/wine cmd batchfile.bat
Cheers!
/tips hat
Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.
CrossOver Forums: the place to discuss running Windows applications on Mac and Linux