Author Topic: Sharing violation  (Read 3639 times)

karotlopj

  • Guest
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
  • *****
  • Posts: 1561
  • Karma: +18/-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).

karotlopj

  • Guest
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'.