[Wine]Can I run windows console (command line) applications using WINE

Bill Medland billmedland at mercuryspeed.com
Mon Mar 28 19:06:36 CST 2005


On March 28, 2005 04:36 pm, Hiji wrote:
> > > 1.	Can I run console/command line applications
> >
> > also?
> > Yes
> >
> > > 2.	If yes, a how can a shell script running on
> >
> > Linux invoke the
> >
> > > console/command line application. (A sample would
> >
> > be great)
> > Just the same way as a UI app;
> > wine hellow.exe
>
> Are you sure about this?  I was also wondering about
> this, but I haven't found a way to pass arguments.
> While somethings like "wine program.exe" will run an
> EXE application, I haven't been able to run
> command-based apps with parameters.  For example,
> "wine command.exe fileToProcess.txt" won't work.
>
> Hiji
Well, as long as you don't expect the moon, it works.
I've just written a hello world console app that writes its arguments to 
stdout and it worked.
Now, command.exe is a rather special console application so I wouldn't be 
surprised if it didn't work too well.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/




More information about the wine-users mailing list