[REBOL] Re: ms dos file paths
From: jurgens:akcorp at: 29-Mar-2002 22:01
Here is a function I use to convert Rebol paths to Windows paths: windows-path: func[ {Takes a Rebol file type and returns a string using Windows path syntax.} path [file!]] [ path: form path return replace/all either all [ equal? path/1 #"/" equal? path/3 #"/" ] [ head insert next remove path ":" ][ path ] "/" "\" ] Burt [jurgens--akcorp--net]