On Mon, 13 Feb 2006, [ISO-8859-1] J?nos Juh?sz wrote: > Is it any way to translate the sort DOS filename to the long NTSF one with > python ?
You'll have to expand on this to handle files other than current directory, but basically: >>> win32api.FindFiles("FILEWI~1.TXT")[0][8] 'FileWithALongFileName.txt'
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor