EXE Flags

Questions about Wine on macOS.
Locked
eftexar
Newbie
Newbie
Posts: 2
Joined: Wed May 07, 2014 4:04 pm

EXE Flags

Post by eftexar »

I'm used to using Terminal in Ubuntu and even know some basic Bash, but using command line through Wineskin, on a Mac OS, is difficult. The substructure of Windows within the Mac structure usually ends in unexpected results, when using command line, and, frankly, just needlessly complicates all things involved.

Search as I may, especially with Google becoming more and more geared towards product searches, I can't find a quicklist of flags or simple custom commands for entry into it. Though I did learn plently about wine tasting testing.

So I have two questions. My broader question is; does such a resource exist? And my other; what flag would I need, per say, to open an executable with DOSBox?

Keep in mind that I know how to open DOSBox from command line, DOS or Terminal, but I need to open EXE with DOSBox through/within, not by way of, wine (rather than through my OS). Hopefully my wording here isn't too confusing, but the program itself installs, and runs, through DOSBox, so there really isn't any other way, I can think of, to do it.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: EXE Flags

Post by doh123 »

I have no idea what you are trying to do...

any flag for an exe would be dependent on that exe and how they programmed it, and what it accepts. I don't know why you'd find any kind of a list.

A command line option is something passed into an exe that is specifically programmed for by the exe maker... these are also known as flags or switches. I doubt that whatever exe you are running has some type of programming to tell it what program to open in.

If your more clear on what exactly you are wanting to do, someone may be able to help.

If your wanting to run a program in DOSBox, why are you using Wine at all?
eftexar
Newbie
Newbie
Posts: 2
Joined: Wed May 07, 2014 4:04 pm

Re: EXE Flags

Post by eftexar »

The program has to have a 'real' windows directory to install to. By installing through DOSBox, by way of Wineskin, I should then be able to just launch it from either DOSbox or Wine. I would use DOSBox outside of Wine, but then I wouldn't be able to install within the 'show package' directory.

Installing the file is the problem, not running it. I was hoping for a flag, or a short command line code, that I could use to tell it to launch with program such and such.

As far as flags go, if there isn't a default list, I would assume there is a standard of some kind to follow. Every other type of coding I know, even a modified XML-based program, has some form of syntax. I need to, and can already, attach the flag, or command line, directly to the exe. I'm just not familiar with any code on the Mac that can open a file through commands like that.

And, before anyone else says it's not possible, it can be done on a Windows computer, through a short cut trick (which unfortunately doesn't exist on the Mac), and there are commands that work independently of any exe's programming. Head on over to Microsoft's Developer Network if you doubt me.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: EXE Flags

Post by doh123 »

I'm still a bit confused on your actual goal...

if your just wanting it all wrapped up into a single app, and its all DOS based, have you tried Boxer? Thats what its designed to do.

so basically you want to "run" an exe file with some command line flag that tells it what program to open in? Well you can open files command line on OS X and give it an App to use...

open -a "/Applications/SomeApp.app" /path/to/some/file.exe

It would basically open like you had that file type associated with that app and double clicked it from Finder. Maybe check out the 'open' command for more options. You could use a bash script with this, or AppleScript or whatever...
Locked