Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running Windows myself, but the drive is hosted on a Linux server.

Basically, people map this drive to their Windows machine, open ACCDB files (which they're not supposed to do, we use ACCDE's) and then after they close out, the LACCDB sticks around.

I need to get rid of the LACCDB file. The Windows server has no GUI but I have direct access to it's command line, either by physically going to the server or using Putty.

What commands would I need to type in to navigate to the locked file and then delete it.

Thanks

John

share|improve this question
    
Have you tried to delete the file? It should be possible as long as the accdb is closed. –  Remou Oct 24 '11 at 20:10
add comment

migrated from stackoverflow.com Oct 25 '11 at 7:19

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 1 down vote accepted

Use the rm command to remove a file from the Linux command line. So if foo.laccdb is located in /export/Access:

rm /export/Access/foo.laccdb

One note is the Access lock file can be created without directly opening foo.accdb from an Access session. That could be the case if another Access database file was open which includes a link to a table in foo.accdb.

share|improve this answer
    
Perfect, thanks –  JMK Oct 25 '11 at 10:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.