Copying files to multiple comp's on a lan

David Bolen db3l at fitlinxx.com
Fri Jun 1 22:27:07 EDT 2001


chat at linuxsupreme.homeip.net (Chad Everett) writes:

> On 1 Jun 2001 17:06:02 -0700, Jeff Shannon <jeff at ccvcorp.com> wrote:
(...)
> > # note Win32 uses \, not /  :)
> > machines = [ "\\Mach1\C" , "\\Mach2\C" , "\\Mach3\C" ]

But note that you have to make these raw strings or double quote the \ for
those strings to work.  (E.g., either r"\\Mach1\C" or "\\\\Mach1\\C")

> It also presumes you're using Microsoft networking.

True, but the original requester specifically mentioned Windows, so that's
probably a reasonable bet.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list