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

[REBOL] Re: path problem - help needed

From: philb:upnaway at: 19-May-2003 13:31

Hi Gregg, I tried 'full-path mode for get-modes and it still gives the short file-name. Phil === Original Message === 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