Solved

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

Posted on 2004-09-13
5
265 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Outlook 2016 'add to dictionary' is greyed out. 6 107
imap sent folders sychronization 2 47
Outlook 2016 Forwarding emails 3 27
exchange, calendar 7 21
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

830 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