MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: running dos executable from mathematica and reading output

This is perfectly possible and I do it all the time.  The best answer, on
Windows and Unix, is not to use Run.  See my recent post to this list  on
"Run[] and Mathlink".  You can also find it via

John Jowett

P.S. I assume that by "dos executable" you mean a Windows command-line

"Frank Bruggeman" <frank.bruggeman at> wrote in message
news:btg82d$8rt$1 at
> 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
> 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

  • Prev by Date: Re: Compile
  • Next by Date: 2^20991011-1
  • Previous by thread: Re: running dos executable from mathematica and reading output
  • Next by thread: Cell Format - Output Cell, Format Change After Evaluation