Get the short file name (8 + 3) from a Win32 long file name
function ShortFileName (const FileName: string): string;
var aTmp: array[0..255] of char;
begin
if not FileExists (FileName) then
Result := ''
else if GetShortPathName (PChar (FileName), aTmp, Sizeof (aTmp) - 1) = 0
then
Result:= FileName
else
Result:= StrPas (aTmp);
end;


طراحي وبسايت
دانلود کتاب طراحی الگوریتم CLRS به همراه حل مسائل