Pascal Scripting: GetShortName

Prototype:

function GetShortName(const LongName: String): String;

Description:

Returns the short version of the specified long filename. If the short version of the long filename is not found, the long filename is returned.