Might want to change that /e to /s if whole directory structure is not
needed.

Jack Hiatt


-----Original Message-----
From: Todd Klindt [mailto:[EMAIL PROTECTED]]
Sent: 12 Aug 2001 23:23
To: NT System Admin Issues
Cc: [EMAIL PROTECTED]
Subject: RE: script to copy files


Have you tried:

c:\>xcopy *.doc u: /c /h /e /x

That might do it

tk
-----Original Message-----
From: Jan Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, August 12, 2001 7:23 PM
To: NT System Admin Issues
Subject: script to copy files


We need to upgrade a few hundred machines. Staff have left doc & xls
files here and there in spite of having their profiles & Office point to
their home folder. Does anyone know a script to collect such files from
any file on drive C and copy to drive U: ?

thank you!


http://www.sunbelt-software.com/ntsysadmin_list_charter.htm



http://www.sunbelt-software.com/ntsysadmin_list_charter.htm

http://www.sunbelt-software.com/ntsysadmin_list_charter.htm

Reply via email to