a06lp Posted October 20, 2004 Posted October 20, 2004 does anyone know of a way to delete a directory and ALL of its subfolders and files, EVEN if they are in use??
ardnelias Posted October 20, 2004 Posted October 20, 2004 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
Jito463 Posted October 20, 2004 Posted October 20, 2004 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.
a06lp Posted October 20, 2004 Author Posted October 20, 2004 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!!
evilvoice Posted October 20, 2004 Posted October 20, 2004 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.
a06lp Posted October 20, 2004 Author Posted October 20, 2004 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...!?
MHz Posted October 20, 2004 Posted October 20, 2004 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.
XflavorJS Posted November 12, 2004 Posted November 12, 2004 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now