1.

Solve : Delete all the files in folder except one type of file?

Answer»

Is there a way to delete all the files in folder EXCEPT one type of file extension (*.zip) USING batch fileCode: [Select]@echo off
pushd "C:\folder" && (
attrib +h *.zip
del *.*?
attrib -h *.zip
popd
)
It is working fine, THANKS you



Discussion

No Comment Found