Re: [python-win32] share remote drive

2012-02-23 Thread Tim Golden
On 22/02/2012 22:48, pacopyc pacopyc wrote: Can I share a remote drive? How? or import win32net win32net.NetShareAdd ( "remote-server", 2, dict (netname="shared2", path="c:/shared-folder2" ) There-is-always-more-than-one-way-to-do-it-ly-yours TJG ___

Re: [python-win32] share remote drive

2012-02-23 Thread Tim Golden
On 22/02/2012 22:48, pacopyc pacopyc wrote: Can I share a remote drive? How? import wmi remote = wmi.WMI ("remote-server") remote.Win32_Share.Create ( Path="c:/shared-folder", Name="myshare", Type=0 ) TJG ___ python-win32 mailing list pytho

Re: [python-win32] share remote drive

2012-02-22 Thread Preston Landers
Your question is sorely lacking in detail and therefore may not draw the kind of responses you are hoping for. What, exactly, are you trying to do? Are you trying to create a Windows Share of a local drive from within Python? Are you trying to mount a remote share from Python? A literal parsing

[python-win32] share remote drive

2012-02-22 Thread pacopyc pacopyc
Can I share a remote drive? How? Thank pacopyc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32