Solved

Automatically copy "Outlook.pst" file from a shared folder

Posted on 2004-09-13
5
264 Views
Last Modified: 2010-04-08
Everytime I turn on my laptop, I would like it to automatically copy my "Outlook.pst" file from a shared folder on my desktop.  (My desktop is always on, and is on the same network.)

Details:
I am sharing the same "Outlook.pst" file between the two computers.
Previously, I simply changed the pst location setting (in Outlook) on my laptop to the networked drive on my desktop.  It worked great.
However, I've never been able to synchronize the data with my PDA, since my PDA will only look at the default location for the pst file. (It's a linux pda that I synch with my laptop.)

FYI: I keep my Outlook.pst file pretty small (no email, limited appointments) so I'm not concerned with the time it would take to copy the entire file.

Any ideas?  
0
Comment
Question by:cotton9
  • 2
  • 2
5 Comments
 
LVL 49

Assisted Solution

by:sunray_2003
sunray_2003 earned 155 total points
ID: 12045912
Hi cotton9,

I wonder if you can deploy  batch file to accomplish this
Running the batch file at system startup would do the job

@echo off
copy <desktop location> <laptop location of outlook.pst>
exit

I am not proficient in batch file but think it should help..

SR..
0
 
LVL 44

Accepted Solution

by:
bruintje earned 155 total points
ID: 12046844
good idea from sunray

to complete that,
-first check on an existing file and delete it, then copy the new file to the correct location
-type this in a new notepad file

@echo off
if  exist <laptop location of outlook.pst>  del <laptop location of outlook.pst>
copy <desktop location> <laptop location of outlook.pst>
exit

-save it as olcopy.bat
-and place a shortcut in the windows programs/startup folder

more on the syntax
source : http://www.evergreen.edu/biophysics/technotes/program/batch.htm

HTHAB
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12047008
LOL.   I can see how poor i am in batch file writing..

Thanks Bruintje
0
 
LVL 44

Expert Comment

by:bruintje
ID: 12047377
:-) SR, glad we're still able to become a bit "wiser" everyday
0
 

Author Comment

by:cotton9
ID: 12232096
Well, I finally got a chance to try out that batch code, and it works perfectly!  

Thanks guys.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question