Win32 drive mapping... aka "net use"
Steve Purcell
stephen_purcell at yahoo.com
Fri Jul 28 06:26:15 EDT 2000
lshuler at my-deja.com wrote:
> Is there an API using Win32 extensions to map a
> drive share? I have not found one yet and have
> tried searching "Win32 map drive". I am looking
> for the equivalent of:
>
> net use <share path>
Yes, look at the 'win32wnet' module provided with Mark Hammond's Win32
extensions:
http://starship.python.net/crew/mhammond/win32/Downloads.html
If I recall correctly, there is an example therein.
-Steve
--
Steve Purcell, Technical Director, Inkontact
Get in touch at http://www.inkontact.com/
Get testing at http://pyunit.sourceforge.net/
"Life must be simple if I can do it" -- Me
More information about the Python-list
mailing list