CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

How can I start terminal applications with Crossover.

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

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoidm5RUUdkUnp0azhHUDhKQiIsImdkcHIiOjB9