Re: running dos executable from mathematica and reading output
- To: mathgroup at smc.vnet.net
- Subject: [mg45444] Re: [mg45414] running dos executable from mathematica and reading output
- From: Yasvir Tesiram <tesiramy at omrf.ouhsc.edu>
- Date: Wed, 7 Jan 2004 17:31:08 -0500 (EST)
- References: <200401070609.BAA08895@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Have a look at Run. In[1]:= ?Run Run[expr1, expr2, ... ] generates the printed form of the expressions expri, separated by spaces, and runs it as an external, operating system, command. Cheers On Wed, 7 Jan 2004 frank.bruggeman at falw.vu.nl wrote: > Hi, > > I am curious whether Mathematica is able to do the following. I would > like to run a dos executable (in this case a program that gives an output file > when fed an input file) by making the input file in Mathematica and > giving the run command (dos command line) in Mathematica and reading > the contents of the output file in Mathematica. I know how to write to > and read contents of external files but I am not familiar with running > dos executables from Mathematica. Can anyone help me? > > Thank you very much in advance, > Frank Bruggeman, > Vrije Universiteit, > Amsterdam, > The Netherlands >
- References:
- running dos executable from mathematica and reading output
- From: frank.bruggeman@falw.vu.nl (Frank Bruggeman)
- running dos executable from mathematica and reading output