Thursday 7 June 2012

Cannot delete files? How to delete them?

Sometimes, you can’t delete certain files because they are currently in used by another software or process. Each time you try to delete the in-use file, Windows will give a warning like this:


" Cannot delete Folder: It is being used by another person or program.
      Close any programs that might be using the file and try again.

So how to delete it? There are three ways that you can use to delete the in-use file.


1. Command Prompt
You can force delete the in-use file in command prompt. In Windows XP, go to Start > Run > type “cmd” > Ok. In the command prompt, go to the file directory and type this:

" del filename.extension

Yea, replace the filename and extension with the filename and it’s extension. Eg: notepad.exe.

2. Safe Mode
If you find it is difficult to delete from command prompt, you can delete in Windows Safe Mode. When the computer boot up, press F8. An options screen will appear and choose Safe Mode from the list.
When boot up in Safe Mode, Windows will run only small amount of processes and you can delete the file without any problem.