win32com short path name on 2k

bytecolor bytecolor at yahoo.com
Wed Apr 26 08:20:18 EDT 2006


Hi people,

Using win32com on 2k SP3...
>>> import win32com.client as w32c
>>> fc = w32c.Dispatch('Featurecam.Application')
>>> fc.InstallPath
u'C:\\PROGRA~1\\FEATUR~1'
>>>

Using win32com on XP Professional SP2...
>>> import win32com.client as w32c
>>> fc = w32c.Dispatch('Featurecam.Application')
>>> fc.InstallPath
u'C:\\Program Files\\FeatureCAM'
>>>

Why the short vs long names?

-- 
bytecolor




More information about the Python-list mailing list