xcopy f:\*.pst c:\destination /S should do it, although I think the files will all end up in the same folder. Robocopy will retain the folder structure if that's what you want. robocopy f:\ c:\destination *.pst /S assuming your pst files are on F: and you want to copy them to c:\destination, for example. -----Original Message----- From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Patrick Sent: 18 September 2007 12:37 To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Rusty Dos Hi Guys, Not quite sure if this can be done with Xcopy or Copy command. but I want to write a simple command that will search users home drive, extract all files with the .pst extension and copy them to a new location. Thanks _____ Building a website is a piece of cake. Yahoo! Small Business gives you all <http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS> the tools to get online.