Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: accessing network paths on windows

From: brock:kalef:innovapost at: 17-Jul-2009 10:04

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://