October 20, 200421 yr does anyone know of a way to delete a directory and ALL of its subfolders and files, EVEN if they are in use??
October 20, 200421 yr http://helpdesk.kixtart.org/KixUtilsTasks.asphttp://helpdesk.kixtart.org/Download/Utils/zap.exeZAPZap works with Windows NT and can delete files that are either in use or otherwise cannot be deleted.Syntax: Zap.exe <filename>Source: Included with the Microsoft SMS 2.0 Resource Guide and the Microsoft BackOffice Resource Kit 4.5.Dr. Delete: Remove in-use fileshttp://www.dslreports.com/forum/remark,737...sware~mode=flat
October 20, 200421 yr Just do as I suggested in your previous topic. Copy deltree.exe to your System32 directory and call it from your batch files. Works like a charm on my preinstall setups. If you can't find it, I can rar it up and e-mail it to you.
October 20, 200421 yr Author If you can't find it, I can rar it up and e-mail it to you.I would appreciate that.I sent you a PM with my email. thanks!!
October 20, 200421 yr im not sure deltree will delete an in use file...the reason i say this is if you do rd /? from command prompt it tells you that rd /s is the same thing as deltree...he is gonna have to find what exe it is running and end task it.
October 20, 200421 yr Author i can't get zap to work... "GetLastError()=32"i dont understand how there isnt a command to just delete (and end, if open) a folder and subcontents...!?
October 20, 200421 yr evilvoice offers good advice. use taskkill to kill the process then rd to cleanup.those are the commands to use. If you have home, use pskill to kill the process.
November 12, 200421 yr I have a file in XP that has no file type. When I try to delete it, with any program, it says it doesnt exist.
Create an account or sign in to comment