[... snip ...] | --------------------------------------------------- | how can i make the following code work, I have probelm with filepath | declaration. | --------------------------------------------------- | import os, shutil | filepath = ' C:\\Documents and Settings\\060577\\Local | Settings\\Application Data\\Microsoft\\Outlook\\* ' | backup = ' D:\\temp\\outlook ' | os.system ("xcopy /s %s %s" % (filepath, backup)) | -----------------------------------------
... also, for various ways of copying files around under Windows in Python, see: http://tgolden.sc.sabren.com/python/win32_how_do_i/copy-a-file.html TJG ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- http://mail.python.org/mailman/listinfo/python-list