[python-win32] Context menu troubles
Tim Roberts
timr at probo.com
Mon Mar 5 20:20:16 CET 2012
Chris Ness wrote:
>
> All seems to be working fine now. Thanks Tim. Learning a lot here.
>
> Having a spot of bother with the context menu for a drive though
> (e.g."C:"). I'm getting a very minimal menu with Open, Manage, Include
> in Library, Copy and Properties. Choosing proprties brings up Control
> Panel->System.
All of that is correct. Technically, C: is a device, not a filesystem.
If you want to refer to the folder at the root of C:. then you need to
use "C:\".
That's usually pretty easy to check: if the string is length two and the
second letter is colon, then add a backslash.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list