Kaushik, Susheel
2005-Mar-28 17:16 UTC
[Wine]Can I run windows console (command line) applications using WINE
Hi, I understand Windows UI applications can run in Linux using wine. 1. Can I run console/command line applications also? 2. If yes, a how can a shell script running on Linux invoke the console/command line application. (A sample would be great) Thanks, Susheel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20050328/52725009/attachment.htm
Bill Medland
2005-Mar-28 17:42 UTC
[Wine]Can I run windows console (command line) applications using WINE
On March 28, 2005 03:16 pm, Kaushik, Susheel wrote:> Hi, > > > > I understand Windows UI applications can run in Linux using wine. > > > > 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> > > > Thanks, > > > > Susheel-- Bill Medland mailto:billmedland@mercuryspeed.com http://webhome.idirect.com/~kbmed
Charles Curley
2005-Mar-28 17:44 UTC
[Wine]Can I run windows console (command line) applications using WINE
Well, I was about to send you a message saying RTFM, but I don't see it in the FM. Maybe the FM maintainer(s) will add this to the FM. On Mon, Mar 28, 2005 at 03:16:07PM -0800, Kaushik, Susheel wrote:> > Hi, > > > I understand Windows UI applications can run in Linux using wine. > > > 1. Can I run console/command line applications also?Some. I've already found out you cannot run programs that access the video hardware directly. Use wineconsole.> 2. If yes, a how can a shell script running on Linux invoke the > console/command line application. (A sample would be great)-------------------------------------------------- [ccurley@charlesc portal]$ cat $(which rf) #!/bin/sh # Time-stamp: <2005-01-24 07:57:01 ccurley rf> # Shell script to launch real-Forth from wine. # set the geometry once and for all. wineconsole seems to prefer 80x25 geo=80x25-15+20 xterm -fn 10x20 -geometry $geo -e 'cd ~/.wine/drive_c/crc/rf ; /usr/bin/wineconsole c:\\crc\\rf\\rff.com 3 load' -------------------------------------------------- -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20050328/ccc0e424/attachment.pgp
matty@zootal.com
2005-Mar-28 18:30 UTC
[Wine]Can I run windows console (command line) applications using WINE
----- Original Message ----- From: "Bill Medland" <billmedland@mercuryspeed.com> To: "Kaushik, Susheel" <susheel.kaushik@hp.com>; <wine-users@winehq.org> Sent: Monday, March 28, 2005 3:42 PM Subject: Re: [Wine]Can I run windows console (command line) applications using WINE> On March 28, 2005 03:16 pm, Kaushik, Susheel wrote: > > Hi, > > > > > > > > I understand Windows UI applications can run in Linux using wine. > > > > > > > > 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 > >Do you mean to say that DOS executables will run under Wine? Can you, for example, run command.com and have a DOS prompt/DOS box?
Hiji
2005-Mar-28 18:36 UTC
[Wine]Can I run windows console (command line) applications using WINE
> > 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.exeAre 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 __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
Sylvain Petreolle
2005-Mar-29 01:18 UTC
[Wine]Can I run windows console (command line) applications using WINE
> > 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.Hey, use wcmd for that... Kind regards, Usurp (aka Sylvain Petreolle) humans are like computers, yesterday the BIOS was all - today its just a word
Hiji
2005-Mar-29 16:22 UTC
[Wine]Can I run windows console (command line) applications using WINE
--- Joe Vinod <isb.graduate@gmail.com> wrote:> Hi > > On Mon, 28 Mar 2005 16:36:00 -0800 (PST), Hiji > <hijinio@yahoo.com> 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. > > Use full path. > > You may pass arguments to the program being > executed by adding > them to the end of the command line invoking wine > (such as: wine > notepad C:\\TEMP\\README.TXT)Fantastic... I'll give it a go! Thanks, Hiji __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/