I don't believe it's possible in REBOL to write

f: read %C:\Windows\Desktop\

You have to convert it to

f: read %/c/windows/desktop/

-- Michael Cornelio

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 21, 2000 10:42 AM
Subject: [REBOL] Re: accessing files on other partitions Re:


> Hello, I thought Rebol did this translation itself.
> 
> Elliott
> 
> On 18-Jan-00, [EMAIL PROTECTED] wrote:
> 
> > try ...
> > 
> > test: read %/d/whatever/file.txt
> > 
> > or you could try this home grown function (one of my earliest REBOL
> > utilities)
> > 
> > cvt-win-path: func [
> >   {Convert a Windows pathname (e.g., C:\Windows\Desktop) to REBOL path}
> 
> 
> >> On Win32, what's the syntax to access a file in an other partition?
> >> 
> >> If, I'm on f:
> >> 
> >> then
> >> 
> >> test: read %d:\whatever\file.txt
> >> 
> >> fails
> >> 
> >> -------
> >> Regards,        Graham Chiu
> >> gchiu<at>compkarori.co.nz
> >> http://www.compkarori.com/dynamo - The Homebuilt Dynamo
> >> http://www.compkarori.com/dbase - The dBase bulletin
> >> 
> > 
> > 
> 

Reply via email to