Re: win32com short path name on 2k

2006-04-26 Thread bytecolor
Thanks Russell, those funcs sound familiar. I've probably used them or, more than likely, read about them in the past. -- bytecolor -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com short path name on 2k

2006-04-26 Thread Russell Warren
I've been driven crazy by this type of thing in the past. In my case it was with the same application (not two like you), but on different machines, with all supposedly having the same OS load. In some cases I would get short path names and in others I would get long path names. I could never fig

Re: win32com short path name on 2k

2006-04-26 Thread bytecolor
I have no idea how Featurecam registers the type library. I did figure out that I can get the full name 'C:\Program Files\Featurecam' from within Featurecam using VBA and the same property I used in Pyhton -> fc.InstallPath. Why would VBA and Python return two different strings? This is really dri

Re: win32com short path name on 2k

2006-04-26 Thread Thomas Heller
bytecolor wrote: > 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.Dispa

win32com short path name on 2k

2006-04-26 Thread bytecolor
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')