Delete any files and folder forcefully
Use the command Prompt for this command
--------------------------------------------------------------
For Deleting the file.
--------------------------------------------------------------
For Deleting the file.
DEL /F /Q /A name_of_the_file
DEL /F /Q /A C:\Users\HP1\Documents\file.txt
For Deleting the folder
RD /S /Q name_of_the_folder
RD /S /Q C:\Users\HP1\Documents\folder1