Re: SetDirectory
- To: mathgroup at smc.vnet.net
- Subject: [mg19226] Re: SetDirectory
- From: paulh at monon.wolfram.com (P.J. Hinton)
- Date: Wed, 11 Aug 1999 02:06:44 -0400
- Organization: "Wolfram Research, Inc."
- References: <7ookef$i3s@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7ookef$i3s at smc.vnet.net>, Eckhard Hennig <hennig at itwm.uni-kl.de> writes: >Hi, can anyone explain why Mathematica 4 for Windows is no longer capable of setting >the working directory to "~"? > >In[1]:= $Version >Out[1]= "4.0 for Microsoft Windows (April 21, 1999)" > >In[2]:= Directory[] >Out[2]= "S:\\Mathematica\\4.0" > >In[3]:= SetDirectory["~"] >\!\(\"~\"\)." >Out[3]= "S:\\Mathematica\\4.0" What do you get when you evaluate the following expressions in a Mathematica 4 kernel? Environment /@ {"HOMEDRIVE", "HOMEPATH"} $HomeDirectory -- P.J. Hinton Mathematica Programming Group paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.