JCL Help:PathGetShortName

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the short name of a path.


Pascal

 function PathGetShortName(const Path: string): string;


Parameters

Parameters Description
const Path: string The path for which you want the short name. The path must physically exist on the specified drive and the drive must support short name aliases or the function will fail.


Return Value

If the function succeeds it returns the short name of the given path. If it fails it returns a copy of the supplied path.


Description

PathGetShortName returns the short name of the given path.


See Also

PathGetLongName


About

Unit

JclFileUtils


Donator

Rudy Velthuis


Platforms

Windows


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page