Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: $CommandLine

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43880] Re: $CommandLine
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 10 Oct 2003 03:05:48 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bm2tvq$6q6$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

a commandline is  a shell command executed by you operating system.
The first is typical the program name that should be started.

The -runfirst "$TopDirectory=..." set the installation directory of your
Mathematica
directory tree.

The -mathlink switch mean that Mathematica is called from a FrontEnd
Other switches are the switches for the MathLink connection 
-linkprotocol, -linkconnect -linkcreate ..
are documented in the MathLink part of "The Mathematica Book"

You should find out what operating system you are using an read the
documentation to find out what is allowed in a command line ...

You should find out for what " - signs are good for ...

But that has nothing to do with Mathematica -- it is just your 
operating system/shell -- a bash-shell may accept different input as
a korn-shell or a Windows command interpreter.

Regards
  Jens



Peter Dickof wrote:
> 
> According to the help file, "$CommandLine is a list of strings giving
> the elements of the original operating system command line with which
> Mathematica was invoked. "
> 
> I have been unable to find the following:
> 1) What exactly do the individual strings mean?
> 2) What are the "elements" allowed for an operating system command?
> 3) How is it possible to use $CommandLine to pass in arbitrary
> strings?
> 
> Can anyone point me to this information?


  • Prev by Date: RE: piecewise definition of a function
  • Next by Date: Re: piecewise definition of a function
  • Previous by thread: Re: $CommandLine
  • Next by thread: piecewise definition of a function