wine-990225 does not run BAT or COM files; only EXE files.
There are two problems with:
wine command.com /c progam.bat
wine does not execute COM and expects every argument to be executable.
I've seen some references to cmd and wcmd (which seem to be wine
internal replacement for command.com); but as near as I can tell, this
is a feature added in later versions of wine; because I can't get it to
work either.
My plan is to create a BAT file containing
cd XXXX
program.exe
And convert to an EXE file, thereby (hopefully) avoiding problem in
initial post.
It is not necessary for the BAT2EXE program itself to work on wine (I
can run that native); but I need the resulting EXE to run on wine.
I've used OpenBSD for hosting (apache/mail) since 2000; and last year we
setup an OpenBSD router in the house (with wifi even). I just moved
from my (7 yr old) P3-600 laptop with Win98 to a new laptop with OpenBSD
in August. I tried OpenBSD desktop several times over those years; but
kept switching back - OpenBSD has come a LONG way with desktop support
in recent years!
As you can see from my posts (wine and qemu); I am open to any solution
that will allow me to run this app with performance approaching
(preferably faster than) native P3-600. I'll donate C$100 to OpenBSD if
it works before year-end - it's not much, but its more than US$100 for
the first time in +30 years. Shucks, I'll probably make the donation
anyway; after all, the cost of a cdrom has been constant for a couple of
years now.
Frank
ropers wrote:
Sorry if this is nosy and sounds stupid, but I'm intrigued:
Why would you need your .bat to become a .exe file?
Hiding your code is obviously not a valid reason, or you wouldn't be
asking this on the OpenBSD mailing list.
On 05/10/2007, Frank Bax <[EMAIL PROTECTED]> wrote:
Does know of a BAT2EXE program that produces an EXE which works under
wine? First hit on google "bat2exe wine" indicates there is one that
works on Linux (written in delphi), but the link is broken.
I've tried several. Some actually create COM (not EXE) files which wine
won't run. Others create EXE files that crash in various ways under wine.
Frank
Frank Bax wrote:
I installed wine-990225p0 from packages on 4.1 and can run simple
programs like sol and notepad. I have an old program I'm trying to run;
but this program cannot find it's own files unless the current working
directory is set to the directory where software was installed. It
seems more recent wine versions support 'bat' files which would solve
this; but this doesn't seem to work in this version.
When I try:
wine c:/XXXX/program.exe
the software complains that it cannot open LIBS\FOXTOOLS.FLL
This file is found at C:\XXXX\LIBS\FOXTOOLS.FLL
Is there a way to run something like this on wine 990225?:
cd XXXX
program.exe
If this is not workable on 990225; do current wine versions work on
OpenBSD?
Frank