[REBOL] another parsing problem: converting dos filenames to rebol Re:
From: ryanc:iesco-dms at: 15-Sep-2000 10:40
This works for absolute paths:>> d: "c:\my\dir\is\this"== "c:\my\dir\is\this">> insert replace/all replace/all d ":" "" "\" "/" "/"== "c/my/dir/is/this">> print d/c/my/dir/is/this>>With partial paths you will need get some logic involved. Also there may be some issues with knowing if the path is a directory or a file. --Ryan [princepawn--MailAndNews--com] wrote: