0

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

Bob
  • 6,366

1 Answers1

2

You're missing a backslash in the path.

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

joeqwerty
  • 111,849