net use * \\some_server\share_name
instead of:
net use k: \\server\share
Thanks for the help in advance. Also, if anyone could provide a link
to good windows api docs for python that would be great.
Cheers,
--Lucas Machado
--
http://mail.python.org/mailman/listinfo/python-list
I have already seen the "net help use" and i know how to manage samba
shares from a command prompt. What i need help with is using the win32
api for python to manage shares
--Lucas
--
http://mail.python.org/mailman/listinfo/python-list
e.')
I know the exception raised in these cases is "pywintypes.error", but
how can i differentiate between the two exceptions? Being able to do
this is critical for my script
Thanks in advance,
--Lucas Machado
--
http://mail.python.org/mailman/listinfo/python-list
Roger Upole wrote:
> You could use win32api.GetLogicalDriveStrings to list
> the drive letters currently in use, and find the next free
> letter. net use * probably does something like that under
> the covers.
I went and took your advice and this is where I am now:
>>> import win32api
>>> a = wi
t escaping the '%' character.
There has to be a way to write '%' to a file. Thanks in advance..
Cheers
-Lucas Machado
--
http://mail.python.org/mailman/listinfo/python-list