How to start Squeak under WinXP from image on network?
Ned Konz
ned at bike-nomad.com
Thu May 1 03:13:24 UTC 2003
On Wednesday 30 April 2003 07:34 pm, Andreas Raab wrote:
> Ned,
>
> > c:\squeak\squeak.exe \\ned\homes\Squeak\3.6\squeak.image
> >
> > Squeak complains that it can't find the file.
> >
> > Why doesn't this work?
>
> Good question. I don't know. Can you open a network file when you
> run Squeak locally? (you may have to go to the primitive directly
> as I don't know if non-mapped network file systems are recognized
> correctly - there are quite a number of places where drive names
> are expected). If you can, then it's probably an issue with using
> fopen() (from msvcrt.dll) vs. CreateFile().
Yes, it seems to work OK.
f _ StandardFileStream new open: '\\ned\homes\test2.txt' forWrite: true.
f nextPutAll: 'testing'.
f close.
f _ StandardFileStream new open: '\\ned\homes\test2.txt' forWrite: false.
f next: 200. " print it, it's OK"
f close.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|