Get Shellpath Win32

Hello,

I have this code

If f <> nil and f.isReadable then
dim C as new Clipboard
C.Text = f.shellpath

This is the output
C:\PROGRA~2\…

How can I get the complete string without the ~?

Thanks.

Lennox

Have you tried nativepath?

Thanks Wayne, just what I needed.
Lennox