[python-win32] os.popen/winpipe
Jens B. Jorgensen
jens.jorgensen at tallan.com
Thu Nov 18 22:59:34 CET 2004
According to the info in my MSDN Library 1999 edition only levels 1 & 2
are supported. Level 0 must've been phased out.
Jürgen Kareta wrote:
>Hi Tim,
>
>#
># The local / remote items could just as well
># be LPT2: and \\printserver\printer
>#
>win32net.NetUseAdd (
> None,
> 0,
> {
> 'local' : "K:",
> 'remote' : r"\\tdi_nt4a\user"
> }
>)
></code>
>
>results in Error 124 INVALID LEVEL
>
>use_info = {
>'local':'v:',
>'remote':r'\\server\directory',
>'asg_type':0,
>'username':'user',
>'password':'pwd'}
>win32net.NetUseAdd(None,2,use_info)
>
>works fine. So I found a solution, but Py_USE INFO 0 without user/pw is more
>charmy. I googled and found lots of lists in the errorcode/description manner,
>but found no description what that means.
>
>Jürgen
>_______________________________________________
>Python-win32 mailing list
>Python-win32 at python.org
>http://mail.python.org/mailman/listinfo/python-win32
>
>
--
Jens B. Jorgensen
jens.jorgensen at tallan.com
"With a focused commitment to our clients and our people, we deliver value through customized technology solutions"
More information about the Python-win32
mailing list