jack 0 Report post Posted November 17, 2005 Open a command prompt window and leave it open. Close all open programs. Click Start, Run and enter TASKMGR.EXE - go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open. Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in. At the command prompt type DEL <filename> where <filename> is the file you wish to delete. Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.Jack. Share this post Link to post Share on other sites
sharpz 0 Report post Posted November 17, 2005 main problem with 'undeletable files' is that they are read only. other possibility is that they are in use by a process, quite possible a windows required process. the only way to get rid of that, is to write an app (or find one) to delete it on startup, before the process that uses the file is called. if anyone needs and example app, ill be happy to write it. Share this post Link to post Share on other sites
Inspiron 0 Report post Posted November 17, 2005 Another method that sure works is to boot up your computer to DOS mode. And delete the file(s) like working on a command prompt.Loading Windows makes alot of system files undeletable.Otherwise, use HijackThis program. Share this post Link to post Share on other sites
hulunes 0 Report post Posted November 17, 2005 well,you could also change its name and move it to another disk then delete directly or by taskmgr.also from safe mode to enter your system to delete them...if certain .dll file could not be deleted.you can also use regsvr32 command to uninstall it. Â e.g regsvr32 /u d:/program/*.dll Share this post Link to post Share on other sites
sharpz 0 Report post Posted November 17, 2005 well,you could also change its name and move it to another disk then delete directly or by taskmgr.also from safe mode to enter your system to delete them...if certain .dll file could not be deleted.you can also use regsvr32 command to uninstall it. Â e.g regsvr32 /u d:/program/*.dll 205738[/snapback] however, if the file is in use by a process, you cannot rename, move, or delete the file. You have to edit it while the process is not running. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted November 17, 2005 There is a utility named "deletedr.exe" which I use. (Available off a download site @ www dot diskcleaners dot com) It has never failed me, yet. Occasionally you run across a file that requires a re-start to delete, but deletedr has worked every time. Share this post Link to post Share on other sites
sharpz 0 Report post Posted November 17, 2005 Occasionally you run across a file that requires a re-start to delete 205756[/snapback] yea, those are the ones in use by processes at the moment. Â Also if you want to securely delete the files (no chance at recovery regardless of what software you try), you could try such freeware utitlities such as SDelete ( http://forums.xisto.com/no_longer_exists/ ) . Again, thats only if you have sensitive information contained in the files (credit card numbers, financial data), and you dont want someone snooping around. Share this post Link to post Share on other sites
guangdian 0 Report post Posted November 17, 2005 terminated the explorer.exe??? it's interesting.but i think you can use a cd rom to startup the computer then on the dos ,you would deleted it. Share this post Link to post Share on other sites
sharpz 0 Report post Posted November 17, 2005 yes... deletedr.exe is an alternative for the built in windows delete utility. What are you trying to say? Booting up with a cd is just a command prompt. what do you mean by "terminated the explorer.exe" ? explorer.exe is the windows shell, which is just the interface such as the desktop and the taskbar. I dont see it mentioned anywhere on this topic Share this post Link to post Share on other sites
believer 0 Report post Posted November 18, 2005 I have also encountered this problem couple of times and this is what let me delete the file everytime, this is only for Windows Operating System.Take note and copy the filename of that problematic file including the extension name, if you are not aware of the extension name, open My Computer, at the top menu click on Tools, then Folder Options, go to View Section and uncheck ?Hide Extensions for known file types?. Click Apply and OK to exit, you should now see the whole filename.Now, open Notepad then create a file, you don?t need to put anything on it, save it with a filename that is the same as the undeletable file in a different folder (if shall we say you have undeletable abc.avi then name the txt file as abc.avi, it will prompt you if you?re sure about this, just press yes). Windows will now see the same file as the undeletable one, copy this on the same directory wherein the undeletable file is located and overwrite it. After that you can now delete the file.This worked for me many times and I hope it will on you too. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted November 18, 2005 then name the txt file as abc.avi, it will prompt you if youre sure about this, just press yes). Â Windows will now see the same file as the undeletable one, copy this on the same directory wherein the undeletable file is located and overwrite it. After that you can now delete the file. 206075[/snapback] Hey, that's an interesting approach to the problem. But as mentioned above, I wouldn't want to do that to a critical system file which is currently being used, know what I mean. Some windows files get re-created on start up if they are not found, but I don't think I would be deleting a running file this way. Might cause some grief. Share this post Link to post Share on other sites
LocalSeer 0 Report post Posted November 18, 2005 In case someone dosen't like putting tons of programs like a deleting program(like me), you should try Start > Run > type msconfig and head to the startup menu, lets you take away those files which have restarting processes. Then restart your computer, wipe the hostile files, and live happy : ). Share this post Link to post Share on other sites
nehmanator333 0 Report post Posted July 8, 2006 Wow thanks so much. I have loads of files that I can't delete because of some reason. Share this post Link to post Share on other sites
bakuryu 0 Report post Posted July 8, 2006 Another method is to use killbox.http://www.bleepingcomputer.com/download/windows/Then just open killbox, browse and select the files you wan't to delete, and select the "delete on reboot option", and click the red X button, reboot, and the selected files will be deleted. Share this post Link to post Share on other sites
truefusion 3 Report post Posted July 8, 2006 Sometimes all of these methods don't work. I remember having a troublesome file that wouldn't wanna get deleted. I've tried all of the above in order to delete the file, but none of them worked. But i managed to delete it anyways. It was funny in the end.Though, now i'm having a problem with an empty folder! It amazes me on how an empty folder can be in use. Share this post Link to post Share on other sites