File cannot be deleted as it is open in file explorer windows

Question:

File cannot be deleted as it is open in file explorer windows

Answer:

Delete the file using elevation command prompt.

Open command prompt with Administrator rights.

go to folder where the files are

use this command to delete all file or use name of the file you want to delete

del *.*
del file-name.pdf

The file will be easily deleted and will give no error.

Scroll to Top