MrT Posted November 23, 2004 Report Share Posted November 23, 2004 Hello, I am trying to build a scrip which perform some backup of data from computers on the LAN. (The LAN is a TCP/IP based network with SAMBA file sharing.) I'm getting everything to work except the backup of the e-mail store file from Outlook 2003 - this file cannot be copied as long as Outlook is running on the computer in question. I would appreciate if someone could give me some suggestions on how I can determine if the file is locked by Outlook and skip the copying process of this file? Quote Link to comment Share on other sites More sharing options...
kevin Posted November 23, 2004 Report Share Posted November 23, 2004 Have you tried either the 'If File Ready' or 'Wait File Ready' command? This command determines if another process has the file open. A file is opened when a program is writing to it. Quote Link to comment Share on other sites More sharing options...
MrT Posted November 25, 2004 Author Report Share Posted November 25, 2004 I have already tried the "If file ready" command, but that will report file in use regardless if Outlook is running or not on the computer from which I'm trying to copy. I suspect this has to do with the fact that I do not have write priviliges, only read, for the file in question. I shall try to share the specific folder in which the file resides with full read/write priviliges and see if the file ready command works then. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.