Deleting a file...

  • Thread starter Thread starter Stu
  • Start date Start date
S

Stu

Hi,

I am trying to delete a file but get the error message 'The process cannot
access the file "C:\MyFile.txt" because it is being used by another
process'.

Is there any way to delete this file anyway?

Thanks in advance,

Stu
 
Hi stu,
Are you sure you closed it in your program before you try do delete it?


Cor
 
Hello,

Stu said:
I am trying to delete a file but get the error message 'The
process cannot access the file "C:\MyFile.txt" because it
is being used by another process'.

Is there any way to delete this file anyway?

If the file is used by an other process, you cannot delete it. Maybe
quitting the other process helps.
 
Is it an AVI file? If so then there is a registry fix
"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850
DC73E}\InProcServer32]"
, something to do with windows using the file to generate previews in
explorer i believe. If you can't find it , i think i have the article saved
somewhere.

Jeff
 

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

Back
Top