Author Topic: Sharing violation  (Read 1365 times)

John Poltorak

  • Full Member
  • ***
  • Thank You
  • -Given: 16
  • -Receive: 0
  • Posts: 233
  • Karma: +0/-0
    • View Profile
Sharing violation
« on: June 18, 2016, 09:45:00 am »
When trying to delete a file I get a sharing violation. How do I identify which process is using that file?

I can't remember which program displays a list of processes and the files they have open. I'm sure there was one...

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 50
  • Posts: 1285
  • Karma: +11/-0
    • View Profile
Re: Sharing violation
« Reply #1 on: June 18, 2016, 01:04:00 pm »
There are several depending on if you need a PM or VIO program.

I've attached Task Buster (PM) it is small and does the job usually.  Put the two together in a dir on the libpath  then just run buster.exe (I have a program object for it).

John Poltorak

  • Full Member
  • ***
  • Thank You
  • -Given: 16
  • -Receive: 0
  • Posts: 233
  • Karma: +0/-0
    • View Profile
Re: Sharing violation
« Reply #2 on: June 19, 2016, 11:34:38 am »
Thanks, Ivan.

I'll have a look at the program you mentioned....

I did find out what the problem was... It appears that emxload keeps some programs in memory so can't be deleted.

The solution is to run 'emxload -q'.