Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 01-27-06, 12:32 AM   #16 (permalink)
Noisy Crow
Guest
 
Posts: n/a
This works: (change the server and volume names as appropriate!)

md \\matrix\shared\test
md \\matrix\shared\test\%USERNAME%
XCOPY "c:\Documents and Settings\%USERNAME%\Application Data\*.*" "\\matrix\shared\test\%USERNAME%\Application Data\" /E /C /Q /H /Y /R

Copy from the old machine. Rename the folder on the server to the new UID. Restore using the new machine. Note that XCOPY is all on line, not two or so that are rendered by the browser.

Last edited by Noisy Crow; 01-27-06 at 12:40 AM.
  Reply With Quote
Sponsor Ads
Old 01-27-06, 12:35 AM   #17 (permalink)
Aximsite Légende
 
Frenchy's Avatar
Addicted Member
 
Join Date: Jul 2004
Location: Up North
Posts: 23,619
Device: iPhone 3G
Carrier: 10-4
Thanked 7 Times in 7 Posts

Awards Showcase
Platinum Poster Aximsite Veteran Staff Aximsite Active Silver Member Aximsite Silver Contributors Admin Medal Gold Poster Aximsite Gold Referrer Top Notch MyPDA 
Total Awards: 9

Thanks Noisy Crow I will give this a try... I need my bed.
__________________
If you get dead silence after breaking the speed of sound, would you be in the darkness after passing the speed of light?
.
Frenchy
Frenchy is offline   Reply With Quote
Old 01-27-06, 12:41 AM   #18 (permalink)
Noisy Crow
Guest
 
Posts: n/a
ZZZzzz is right! Fire me off a note if you'd like it turned into a couple of batch files.
  Reply With Quote
Old 01-27-06, 09:53 AM   #19 (permalink)
Blogger
 
radimus's Avatar
 
Join Date: Aug 2004
Location: Tampa
Posts: 5,201
Device: AT&T Fuze
Carrier: AT&T US
Thanked 44 Times in 40 Posts

Awards Showcase
Aximsite Silver Reviews Top Notch MyPDA Aximsite Bronze Referrer Aximsite Veteran Staff News Editor Medal Aximsite Active Silver Member Aximsite Active Bronze Member Aximsite Bronze Contributors 
Total Awards: 8

here is a bat that I used a while back to copy userdata to their H: before migrating them to a new PC

Perhaps some of this would be helpful to you

Code:
@echo off

if exist "c:\program files\ase\data\aspen.mdb" md "h:\aspen" & move "c:\program files\ase\data\*.mdb" "h:\aspen"
if exist "c:\cognos\BI96\workspce\*.imt" md "h:\improm35" & move "c:\cognos\BI96\workspce\*.imt" "h:\improm35"
if exist "c:\My Documents" md "h:\My Documents" & move "c:\My Documents\*.*" "h:\My Documents"
if exist "%userprofile%\favorites\*.*" md h:\Favorites & move "%userprofile%\favorites\*.*" h:\Favorites 
if exist "%userprofile%\desktop\*.*" md h:\Desktop & move "%userprofile%\desktop\*.*" h:\Desktop
if exist "%userprofile%\Personal\*.*" md h:\Personal & move "%userprofile%\Personal\*.*" h:\Personal
if exist "%userprofile%\Application Data\Microsoft\Templates\Normal.dot" md h:\Normal & move "%userprofile%\Application Data\Microsoft\Templates\Normal.dot" h:\Normal

md h:\Word
md h:\Excel
md h:\PowerPoint
md h:\Outlook
md h:\Publisher
md h:\Access
for /r c:\ %%a in (*.doc) do xcopy "%%a" h:\Word /s /i
for /r c:\ %%a in (*.xls) do xcopy "%%a" h:\Excel /s /i
for /r c:\ %%a in (*.ppt) do xcopy "%%a" h:\PowerPoint /s /i
for /r c:\ %%a in (*.pub) do xcopy "%%a" h:\Publisher /s /i
for /r c:\ %%a in (*.mdb) do xcopy "%%a" h:\Access /s /i
for /r c:\ %%a in (*.pst *.pab) do xcopy "%%a" h:\Outlook /s /i

net use | find /i ":" > H:\%username%-Drives.txt
\\server\logon\reg query hkcu\printers\connections > H:\%username%-Printers.txt
__________________
Quote:
"Always vote for principle, though you may vote alone, and you may cherish the sweetest reflection that your vote is never lost." -- John Quincy Adams

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
radimus is online now   Reply With Quote
Old 01-27-06, 06:40 PM   #20 (permalink)
Banned from Site
 
reese's Avatar
Addicted Member
 
Join Date: May 2004
Posts: 4,564
Thanked 0 Times in 0 Posts


Sorry, I just saw robocopy and I had to ;-)
reese is offline   Reply With Quote
Reply

Tags
command, line, program, robocopy

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:40 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC