Solved

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

Posted on 2004-09-13
5
260 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
Comment Utility
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
Comment Utility
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
Comment Utility
LOL.   I can see how poor i am in batch file writing..

Thanks Bruintje
0
 
LVL 44

Expert Comment

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

Author Comment

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

Thanks guys.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
Outlook Free & Paid Tools
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 Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now