got it...This is a batch file to prep a user to be moved onto a new PC (or just to back up their files or whatever)
Assuming m: to be the user home drive...
code:
@echo off
md m:\Word
md m:\Excel
md m:\PowerPoint
md m:\Outlook
md m:\Publisher
md m:\Favorites
md m:\Desktop for /r c:\ %%a in (*.doc) do xcopy "%%a" m:\Word /y /s /i
for /r c:\ %%a in (*.xls) do xcopy "%%a" m:\Excel /y /s /i
for /r c:\ %%a in (*.ppt) do xcopy "%%a" m:\PowerPoint /y /s /i
for /r c:\ %%a in (*.pst) do xcopy "%%a" m:\Outlook /y /s /i
for /r c:\ %%a in (*.pub) do xcopy "%%a" m:\Publisher /y /s /i
xcopy "%userprofile%\favorites\*.*" m:\Favorites /y /s /i
xcopy "%userprofile%\desktop\*.*" m:\Desktop /y /s /i
there has to be a law against working on a Saturday....
[This message has been edited by Radimus (edited 16 September 2000).]