MathGroup Archive 2000

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

Search the Archive

RE: Launch Directory

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26509] RE: [mg26499] Launch Directory
  • From: "Krautschik, Chris G" <krautschikc at intel.co.jp>
  • Date: Sat, 30 Dec 2000 01:55:20 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Jonghee,

If you modify the init.m file (path is c:\Program Files\Wofram
Reseach\Mathematica\4.1\Configuration\Kernel\init.m") and add the following
line of text to the bottom of the file it should do what you want:

SetDirectory["C:\Temp"];

You can use a text editor to add the line of text or Mathematica as well. I
suggest you first rename the file init.bak and then modify the file and save
it as init.m. Restart Mathematica and type Directory[] (in a new notebook to
verify that the init.m file works as intended.

You can also type the command SetDirectory["C:\Temp"] at the beginning of
your notebook to move to the directory you want to go to. However, you would
have to do that everytime you start up Mathematica.


Chris

PS. The Yen signs should really be replaced by the backslash operator under
Windows.

-----Original Message-----
From: Jonghee Lee [mailto:jonghee at glue.umd.edu]
To: mathgroup at smc.vnet.net
Subject: [mg26509] [mg26499] Launch Directory


Whenever my mathematica starts, it sets the current directory under
"  C:\APPLICATION\MATHEMATICA4.0\ ". Is there any way
to change into another directory? For instance, if I like to have
it start at " C:\TEMP " everytime I launch mathematica, what do I have
do?
Thanks in advance.


--
Jonghee Lee
University of Maryland
Department of Physics
Gravitation Experiment
College Park, MD 20742

Tel      : 301-405-6092 (Office)
            301-405-6093 (Lab)
Email   : jonghee at glue.umd.edu






  • Prev by Date: Re: simple questions about matrices
  • Next by Date: Re: Consrtaining Variables
  • Previous by thread: Launch Directory
  • Next by thread: Transparent Layering w/ Solids