MathGroup Archive 2011

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

Search the Archive

How to run ".nb" file always in dos command line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123578] How to run ".nb" file always in dos command line
  • From: wch <weichanghe2000 at gmail.com>
  • Date: Mon, 12 Dec 2011 06:41:51 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hi,everybody,I have met an problem when run mathematica in DOS
interface. I will tell you this confuse:
in "1.nb" file, I have written a sentence: Plot[Sin[x], {x, 0, 6 Pi}],
then I run 1.nb in DOS command line with "> 1.nb", it will be opened
in a moment.
now I want to evaluate "1.nb" in DOS in order to generate the figure
of Plot[Sin[x], {x, 0, 6 Pi}]. but I don't know how to send order to
mathematica.
In a word, I want to execute all process in DOS command not under
notebook interface through "shift + enter". combination.
Thank you for all the information in advance,I am wating for your
coming.



  • Prev by Date: Re: Change x-axis scale
  • Next by Date: Re: Change x-axis scale
  • Previous by thread: Re: Terminate NDSolve by a condition
  • Next by thread: Re: How to run ".nb" file always in dos command line