Funktionreferenz


_WinAPI_GetFileTitle


Retrieves the name of the specified file

#include <WinAPIFiles.au3>
_WinAPI_GetFileTitle ( $sFilePath )

Parameter

$sFilePath The name and location of a file.

Rückgabewert

Success: The name of the file.
Failure: Empty string.

Bemerkungen

_WinAPI_GetFileTitle() should only be called with legal file names; using an illegal file name has an undefined result.

_WinAPI_GetFileTitle() returns the string that the system would use to display the file name to the user.
The display name includes an extension only if that is the user's preference for displaying file names.
This means that the returned string may not accurately identify the file if it is used in calls to file system functions.

Siehe auch

Suche nach GetFileTitle in der MSDN Bibliothek.