HTMLun2
function HTMLToDos(FileName: String): string;
The HTMLToDos function converts an HTML style filename to one for Dos. If the filename is in Dos format to begin with, no change takes place.
After the call,
S := HTMLToDos('file:///c|/Big/Images/Glass.bmp');
S will contain 'c:\Big\Images\Glass.bmp'.