win32api.GetLongPathNameW

PyUnicode = GetLongPathNameW(fileName)

Converts the specified path to its long form.

Parameters

fileName : PyUnicode

The file name.

Comments

This function may raise a NotImplementedError exception if the version of Windows does not support this function.