Delete file error

T

Tavish Muldoon

Hello,

I had a directory that I no long wish to use, so I tried to delete it.

The error I get on trying to delete it:

Cannot delete <folder name>: There has been a sharing violation. The
destination file may be in use.

Nothing else appears to be using it. How do I go about finding what
is using it or why is this error happening?

I checked the task manager and I see no sign of it listed there.

Suggestions.

Thanks,

Tmuld
 
G

George Hester

Best thing to do is reboot. Then immediately after you arrive at the desktop try deleteing it. If that doesn'r work then you have a call into something at that location at boot. If that is the case check these keys in the registry for an entry pointing to something in the folder:

Star | Run | regedit | OK Navigate to and select:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

On the right look for a call to something in that folder or a call to something your application was using specific to that application. It may be in C:\WINNT\system32. Then you look at the properties of the file and see if it has a copyright that corresponds to your application's mfg.

The other place to look in the registry is here:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Also you may need to check the startup folder for both the All Users profile and the one you use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top