Cant delete .minecraft folder for Minecraft

Restart your computer. This should stop the process that is using the .minecraft folder so you can delete it.


Close completely every minecraft related program, then retry. You can't delete something if its data is being used by something else.