Hi
Can I delete a lock file when no-one is using it?
Do I need a windows administrator to do this?
Context
I have a master copy of my front end on the network and I give users a batch file which will make a copy from the network to their hard drive.
At some stage in my absence, the master has been opened and not properly closed.
Now there is a lock file Masterdb.ldb permanently open and I can't delete it.
Opening and closing the database, the lock file does not go away. The owner of the lock file does not have it open.
I opened the lock file and read the contents. It had my PC name in it (and I think another PC also, but I didn't take note of the Number. D'oh). I deleted all of the text and saved the file over the old one. Still can't delete the file.
This is not a problem unless, I want to compact the Masterdb an I can't get exclusive access to it.
I can get around this as I have another copy of the Master which I am developing and I can compact it and replace the Master on the network, but the lock file wont go away.
Any suggestions would be appreicated.
Thanks
Paul
Zollo A+ / VBA Developer
![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)
Can I delete a lock file when no-one is using it?
Do I need a windows administrator to do this?
Context
I have a master copy of my front end on the network and I give users a batch file which will make a copy from the network to their hard drive.
At some stage in my absence, the master has been opened and not properly closed.
Now there is a lock file Masterdb.ldb permanently open and I can't delete it.
Opening and closing the database, the lock file does not go away. The owner of the lock file does not have it open.
I opened the lock file and read the contents. It had my PC name in it (and I think another PC also, but I didn't take note of the Number. D'oh). I deleted all of the text and saved the file over the old one. Still can't delete the file.
This is not a problem unless, I want to compact the Masterdb an I can't get exclusive access to it.
I can get around this as I have another copy of the Master which I am developing and I can compact it and replace the Master on the network, but the lock file wont go away.
Any suggestions would be appreicated.
Thanks
Paul
Zollo A+ / VBA Developer
![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)