#delete #windows #kill #processes #force #file-folder #occupying

app fuck-delete-it

Force delete file/folder on Windows, kill occupying processes

1 unstable release

0.1.0 Apr 4, 2024

#578 in Filesystem


156 lines

Fuck, delete it!

English | 简体中文

Kill all processes occupying a file/folder, and enforce deletion. Inspired by

Have you ever encountered a situation where you can't delete a file/folder because it's being used by another program? This can be annoying on Windows: you may have to search for handles in the Resource Monitor, find the process, and then kill it. This program simplifies that.


There are several different methods to install this program, and you can choose any of them.

  • Download the file from Releases and unzip it, then place it in C:\Windows\System32 or any directory that exists in your Path.
  • Use bpm:
    bpm i fuck-delete-it -b fdi -q
  • Use scoop:
    scoop install https://raw.githubusercontent.com/lxl66566/fuck-delete-it/main/fuck-delete-it.json
  • Use cargo:
    cargo install fuck-delete-it


Command line:

fdi <PATH> [-y]

You can also directly drag and drop the file/folder into the command line window, and the path will be automatically filled in.

For more information, please check fdi -h.


~2.5M SLoC