[python-win32] Created Map NetWork Drive is not visible in "My Computer" window

siddhartha veedaluru siddhartha.veedaluru at gmail.com
Sun Aug 24 14:53:17 CEST 2008


Hi,

i have used the following code to create Map NetWork Drive.
But it is not visble when i open "My Computer" window.

---------------------------------------------------------------------------
import win32net,time
data = {}
data['remote'] = r'\\fredo\Project'
data['local'] = 'K:'
data['user'] = 'builder'
data['password'] = 'builder'
data['asg_type'] = 0
data['status'] = 1
data['domainname'] = 'conindia'
win32net.NetUseAdd(None,1,data)
-----------------------------------------------------------------------

Help me in making it visible.

Regards,
Siddhartha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080824/174aa711/attachment.htm>


More information about the python-win32 mailing list