Migrating to from one computer using addpst.exe

R

Reid

Can you tell me how to write a the code for a batch file that uses addpst.exe
to copy multiple office 2003 pst files, for one user from one computer
running XP to a SAN, then from the SAN to a new Vista computer using office
2007.

Using robocopy I have this to back up the psts (I know this works);
%SrvDef%\Robocopy.exe "C:\Documents and Settings\%UserName%\Local
Settings\Application Data\Microsoft\Outlook" "\\SAN\%UserName%\PST" *.pst /e
/xf desktop.ini /r:3 /w:1 /TEE /Log+:"C:\Documents and
Settings\%UserName%\BackupLog.txt"

I would like to add the following, but I don't know how to get it to do
multiple psts for one user;
Addpst.exe -p C:\Users\Username\AppData\Local\Microsoft\Outlook\Outlook.ost
-t \\"SAN"\it\Support\Migration\Username\PST\*.pst -d *.pst –f u

Can you provide any suggestions?

Thanky you,
Reid
 
R

Roady [MVP]

You've got the syntax wrong;
-p Indicates the mail profile; you're pointing it to an ost-file
-t Points to the location of a single pst-file. You are using wildcards.
Also, you are pointing to a pst-file stored on a network share.
Microsoft doesn't support nor recommends that as it could lead to
data
corruption or even data loss.
-d Specifies a display name for use in Outlook.
-f Well, you got that right if the original pst-file is indeed in
Unicode.

If you want to add multiple pst-file, simply execute the command multiple
times pointing to different pst-files.

For examples, see the download page at Microsoft;
http://support.microsoft.com/kb/2000021
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top