MathGroup Archive 2006

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

Search the Archive

Re: command line question

  • To: mathgroup at
  • Subject: [mg65896] Re: [mg65874] command line question
  • From: Christopher Purcell <christopherpurcell at>
  • Date: Fri, 21 Apr 2006 01:33:44 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

This has been asked before on mathgroup, and someone answered (in the  
affirmative) as follows:


where code is a string giving the name of your DOS command file or  
executable. The symbol log will contain the output of your external  
command.  The exclamation mark prepended to the name of the command  
causes the operating system to run the command, then the ReadList  
captures the output (that would normally be written to a DOS "CMD"  

christopherpurcell at

On Apr 20, 2006, at 6:14 AM, jason.s.turner at wrote:

> Hi, I'm trying to execute Mathematica (5.2 on Windows) from the  
> command
> line via another program, but I'm having a hard time finding a way  
> that
> would just run a command, then exit.  Can this be done?
> Even if I could just read my argument from a file and write it to
> another would be fine...just as long as it gives the result, the  
> exits.
> Thanks,
> Jason

  • Prev by Date: Re: NDSolve with implicit function
  • Next by Date: Re: 3 transcendent equations, 2 unknown variables
  • Previous by thread: command line question
  • Next by thread: Re: command line question