GetShortPathname (Pfad in altes Dos 8.3 Format umwandeln) Verfasst am: 18.06.2009, 12:03
Name: GetShortPathname Funktion: Wandelt einen normalen String/Pfad in das alte Dos 8.3 Format um. Rückgabe: Ein String. (Verkürzter Pfad)
Visual Basic: [code]Private Declare Function GetShortPathname Lib "kernel32" Alias "GetShortPathNameA" (ByVal strLongPath As String, ByVal strShortPath As String, ByVal intBufferLen As Integer) As Integer
Public Function GetShortname(ByVal LongPathName As String) As String Dim strShortName As String, iLen As Integer