[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Dos' (#rtl)


Get the long filename of a DOS 8.3 filename.


Source position: dosh.inc line 111

function GetLongName(

  var p: string



This function is only implemented in the GO32V2 and Win32 versions of Free Pascal.

GetLongName changes the filename p to a long filename if the API call to do this is successful. The resulting string is the long file name corresponding to the short filename p.

The function returns True if the API call was successful, False otherwise.

This function should only be necessary when using the DOS extender under Windows 95 and higher.


If the API call was not succesfull, False is returned.

See also



Get the short (8.3) filename of a long filename.

Documentation generated on: Mar 17 2017