If you have an obscure computer name as I do on my work provided PC and
to save the time it takes to look it up...

; using the windows syntax
>> to-rebol-file join  "\\" [form read dns:// "\share-name"]

; using rebol syntax
>> to-file join "/" [form read dns:// "/share-name"]

Where you are automatically retrieving the computer name and converting
it to a string using;
   form read dns://


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Semseddin Moldibi [ Bircom ]
Sent: July 17, 2009 6:14 AM
To: [email protected]
Subject: [REBOL] Re: accessing network paths on windows


Well, I tried %//myserver/share :)) It's a windows habbit :)
to-rebol-file "\\myserver\share" is also work.
Thanks.

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf

>Of Petr Krenzelok
> Sent: Friday, July 17, 2009 11:04 AM
> To: [email protected]
> Subject: [REBOL] Re: accessing network paths on windows =3D20 =3D20  =
...=20
>and also ... for conversion you can use to-rebol-file and =20
>to-local-file functions ...
>=3D20
> -pekr-
>=3D20
>=3D20
> Ammon Johnson napsal(a):
> > Yup.
> >
> > /computer-name/share-name
> >
> > You access them the same as if it were a root drive like /c.
> >
> > On Jul 17, 2009 12:48 AM, "=3DDEemseddin Moldibi [ Bircom ]" <=20
> > [email protected]> wrote:
> >
> >
> > Hi, is there a way to access a network path like \\myserver\myfolder
> in =3D3D
> > rebol, without creating a map network drive?
> >
> > --
> > To unsubscribe from the list, just send an email to lists at=20
> > rebol.com with unsubscribe as the subject.
> >
> >
>=3D20
> --
> To unsubscribe from the list, just send an email to  lists at=20
>rebol.com with unsubscribe as the subject.

--
To unsubscribe from the list, just send an email to lists at rebol.com
with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to