Jump to content
Macro Express Forums

Determine If A File Is Locked (over Lan)


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...