Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: How to run Mathematica nb file in command line in windows?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112577] Re: How to run Mathematica nb file in command line in windows?
  • From: Chris Degnen <degnen at cwgsy.net>
  • Date: Tue, 21 Sep 2010 02:03:24 -0400 (EDT)
  • References: <i74lnb$jks$1@smc.vnet.net> <i77a92$mna$1@smc.vnet.net>

On 20 Sep, 10:41, shippee <slship... at gmail.com> wrote:
> On Sep 19, 2:38 am, timedcy <time... at gmail.com> wrote:
>
> > How to run Mathematica nb file in command line in windows?
> > For example, you can autorun a file.nb after double click a .bat file
> > in windows
> > I can not handle it well.
> > Thanks
>
> "C:\Program Files\Wolfram Research\Mathematica\7.0\Mathematica.exe"  G:
> \data\birthday.nb
>
> "C" would be the drive where your programs are stored, it might be
> different if you have Mathematica installed somewhere other than its
> default installation.  You need the quotes because of the spaces in
> the pathing to the executable file.  G:\data\birthday.nb is the path
> and file name you want the executable to open.
>
> If this is not clear please contact me directly and I can explain in
> greater detail.
>
> Steven Shippee
> Olympia, Washington

That opens the notebook but doesn't run it.  I am told single-click
execution can be done via MathLink using an.exe file.  Non-trivial,
apparently.


  • Prev by Date: Re: create character listing
  • Next by Date: Troubles connecting to Linux remote kernel from Linux workstation
  • Previous by thread: Re: How to run Mathematica nb file in command line in windows?
  • Next by thread: Re: How to run Mathematica nb file in command line in windows?