I can remember seeing an API that converted a filename
(e.g. C:\Program Files\Microsoft Office\Templates\Presentation Designs\Blue Diagonal.pot)
to a shorter version of the filename
(e.g. c:\Program Files\...\Blue Diagonal.pot)
so it could be displayed in a Recent File list.

Can anyone remember which API does this?


Cheers