[plt-scheme] stupid question about Windows path

From: DTNOIZR (dtnoizerz58 at yandex.ru)
Date: Mon May 18 09:43:44 EDT 2009

after 3 hours of work nothing was changed and it error disappeared
it was mystic error, hope it never returns



18.05.09, 17:31, "Eli Barzilay" <eli at barzilay.org>:

> On May 18, DTNOIZR wrote:
> > path don't work (cannot open file) if path include spaces
> > this is dont't work under Windows:
> > (without spaces - all OK)
> > 
> > (define p "F:/ALL_MINE/CYBER/PROJECTS/PLT SCHEME/x.mxml")
> > (write-to-file "XXX" p #:exists 'replace)
> > 
> > tried \" .... \" (doublequotes), tried \\ , tried escaping space (\u20)
> > have read manual but may be I miss something
> What's the exact error message?
> If it's something about not being able to open or write to the file,
> did you verify that the directory exists and it is write-able?
> Also, if this is on Vista, there might be some tricks that the system
> is playing with virtual paths.
> -- 
>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                   http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.