Sumário
- Índice
- Anterior
- Próximo
GetShortFileName

Unit
ELibFnc
Declaração
function GetShortFileName(const FileName: string): string;
Descrição
Retorna uma string contendo o nome do arquivo FileName na notação 8.3 do DOS.
Exemplo: GetShortFileName('C:\Temporario\MeuArquivo.txt') retornará 'C:\Tempor~1\MeuArq~1.txt'.
Observação
O uso de GetShortFileName só terá sentido se o arquivo existir.