Página 1 de 1

Função p/ pegar nome curto 8.3 LF_ToShort

Enviado: 09 Nov 2014 20:24
por Itamar M. Lins Jr.
Do forum de usuários internacional.

Código: Selecionar todos

#define NAME_LEN 255

function LF_ToShort( cLongFileName )

local cShortFileName := space( NAME_LEN )
local nLen

nLen := wapi_GetShortPathName( cLongFileName, @cShortFileName, NAME_LEN)
// You may want to check the value of <nLen> for safety

return cShortFileName 
Saudações,
Itamar M. Lins Jr.