[REBOL] Re: path problem - help needed
From: greggirwin:mindspring at: 18-May-2003 21:23
Hi Romano,
RPT> Under windows 98 the current path reported by what-dir is something like:
RPT> %/C/REBOL/VIEW/LOCAL/foobar~1/
RPT> the same happend for path names in system/script system/options
RPT> but
RPT> read %/C/REBOL/VIEW/LOCAL/
RPT> reports names in the extended windows form:
RPT> foobarfoo/
get-modes supports a 'full-path mode, which you might try. I don't
know that it will work though. I'm afraid it won't map the short name to
the long name for you if they're using GetFullPathName under the hood.
Is the Windows API an option (i.e. GetShortPathName or FindFirstFile?
-- Gregg