Help: How to change default directory?

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Mon Apr 17 07:50:52 UTC 2000


On Fri, 14 Apr 2000, Jean_David RUVINI wrote:

> But there's still a problem: they can't save their image (squeak
> crashes) or fileOut their code (error notification). I suppose this is
> because squeak takes /usr/local/squeak/ as default directory and they
> to not have write permission on that directory.

Exactly.

> Is there a way to change default directories?

FileDirectory setDefaultDirectoryFrom: '/home/bert/bla/.'

sets the default dir to "/home/bert/bla". The slash dot is essential,
because the string is treated as a filename.

  -Bert-





More information about the Squeak-dev mailing list