At some point in life, I needed to delete a folder and all of its files. But I wasn’t able to. The ordinary Delete key or Shift + Delete wouldn’t delete them. Not even when entering in “Command Prompt” – the error I was receiving was “The process cannot access the file because it is being used by another process.”
So, I decided to actually force deletion by entering “safe mode”.
In Windows 10, you can enter “safe mode” by:
Now, your PC will restart/reboot and it will load in “safe mode”.
del /f the_name_of_your_file
rmdir /s the_name_of_your_folder