Gustavo Tabares wrote:
> Hrm ok, so this:
>
> win32api.GetVolumeInformation('F:')
>
> only works if your current working directory isn't somewhere on that
> drive (as in my example code)? The rest of the time you need to
> specify an additional slash or to be safe always include the os
> separator.

Beats me.  You're asking about undocumented behavior.  The fact that it
works at all is merely an accident, and might change in the next service
pack.  The documentation says "a trailing backslash is *required*".

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to