MathGroup Archive 2004

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

Search the Archive

RE: setdirectory doesn't work.anymore

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48172] RE: [mg48160] setdirectory doesn't work.anymore
  • From: "DrBob" <drbob at bigfoot.com>
  • Date: Sat, 15 May 2004 03:56:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Put your cursor in the input cell (the one that doesn't evaluate properly),
and push Ctrl-Shift-E (or menu item Format>Show Expression) to see what's
really in the cell. It should be the following (on a Windows machine):

Cell[BoxData[
    StyleBox[
      RowBox[{
        RowBox[{
        "SetDirectory", "[", 
          "\"\<C:\\Biology\\temp\>\"",
           "]"}], ";"}],
      FormatType->StandardForm,
      FontColor->GrayLevel[
      0]]], "Input"]

If it isn't, either make the corrections in this view and toggle back to the
other view, or retype the expression in a new cell.

DrBob

www.eclecticdreams.net


-----Original Message-----
From: sean kim [mailto:sean_incali at yahoo.com] 
To: mathgroup at smc.vnet.net
Subject: [mg48172] [mg48160] setdirectory doesn't work.anymore


hello group. 

a strange thing. 

below works fine. 

In[138]:= Directory[]
Out[138]= C:\Program Files\Wolfram Research\Mathematica\5.0


but if i go, 

In[139]:= SetDirectory["C:\Biology\temp"];

From In[139]:= 
SetDirectory::cdir: 
Cannot set current directory to C:\Biology\  emp.

i took out the t (C:\Biology\  emp) and added blank spaces in there to
show what i see on my screen.

That command used to work fine on my machine. so i thought maybe it
was the folder propperty, so i made sure the folder wasn't read-only
and it wasn't.

and the same code works fine on my home machine as well. 

Did I somehow change the some type of global option someplace? how do
i change it back so that i can change the working directory?

any thoughts will be thoroughly appreciated. 

thanks all in advance. 

sean




  • Prev by Date: Re: setdirectory doesn't work.anymore
  • Next by Date: Re: Uniform design
  • Previous by thread: Re: setdirectory doesn't work.anymore
  • Next by thread: Re: setdirectory doesn't work.anymore