Delete all .bak files from folder with CMD

I want automate the delete files with .bak extension in my backup folder

I have a little CMD who ZIP all my BD .back and after this i want delete this bak but not ZIP file

I use this but dont work, the bak files are in F:\bckup

del /s /q /f "F:\bckup*.bak"

enter image description here


You're missing a backslash in the path.

Try del /s /q /f "F:\bckup\*.bak"