win32file.GetFullPathName

string = GetFullPathName(FileName, Transaction )

Returns full path for path passed in

Parameters

FileName : bytes/unicode

Path on which to operate

Transaction=None : PyHANDLE

Handle to a transaction as returned by win32transaction::CreateTransaction

Comments

This function takes either a bytes a unicode string, and returns the same type If unicode is passed in, GetFullPathNameW is called, which supports filenames longer than MAX_PATH

If Transaction parameter is specified, GetFullPathNameTransacted is called