Mailing List Archive

Getting "Short" filenames inWindows
Hi Everyone,

Is there some simple way to get the short path name
from the long one in Windows.

os.path, dospath and ntpath files do not seem to
allow one to access the short name easily.

Thanks
Mark
Getting "Short" filenames inWindows [ In reply to ]
This was answered some time ago by Tim Peters.
Read the full story at:
http://x39.deja.com/[ST_rn=ps]/getdoc.xp?AN=475004666&CONTEXT=933693577.1655
177350&hitnum=0

This URL was found by searching for 'short filenames convert' in the
'Search the Python newsgroups (using DejaNews)', which you will
find on http://www.python.org/search/.

Regards

Thomas Heller
ION-TOF GmbH
----- Original Message -----
From: <mark.mcmahon@eur.autodesk.com>
To: <python-list@python.org>
Sent: Tuesday, August 03, 1999 1:32 PM
Subject: Getting "Short" filenames inWindows


> Hi Everyone,
>
> Is there some simple way to get the short path name
> from the long one in Windows.
>
> os.path, dospath and ntpath files do not seem to
> allow one to access the short name easily.
>
> Thanks
> Mark
>
> --
> http://www.python.org/mailman/listinfo/python-list
>