Skip to content

Delete any file no matter the cost to your PC's health, by forcing the programs using the file to be closed and the file deleted after as many attempts to delete as it takes.

Notifications You must be signed in to change notification settings

CopilotCoding/SharpFileKiller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

FAIR WARNING!

Any path you enter into the console of this program, that file/path will be deleted. Be careful not to enter your main drive or other important paths like system32 into the console. I added two checks for paths, but there is no way in hell I am spending the time to hard code every possible path to avoid deleting.

So the responsibility is on you if your files get deleted by using this program.

Simply modify the program to avoid paths you don't want deleted or don't use this program if you don't want to take that risk.

Disclaimer

May not be able to delete some files.

CloseProcessAndDeleteFile

Delete any file no matter the cost to your PC's health, by forcing the programs using the file to be closed and the file deleted after as many attempts to delete as it takes.

All credits to Eric J. on stack overflow for their code I used in this project:

https://stackoverflow.com/questions/317071/how-do-i-find-out-which-process-is-locking-a-file-using-net

About

Delete any file no matter the cost to your PC's health, by forcing the programs using the file to be closed and the file deleted after as many attempts to delete as it takes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages