Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Force delete even if in use?

Featured Replies

does anyone know of a way to delete a directory and ALL of its subfolders and files, EVEN if they are in use??


http://helpdesk.kixtart.org/KixUtilsTasks.asp

http://helpdesk.kixtart.org/Download/Utils/zap.exe

ZAP

Zap 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 files

http://www.dslreports.com/forum/remark,737...sware~mode=flat

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.

  • 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!!

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.

  • 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...!?

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.

  • 4 weeks later...

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.