Imagine that we have directory
c:\test with following files:
first.txt second.doc third.txt fourth.txt_bak
I want to remove only
txt files, but leave
When I run command
del c:\test\*.txt, it removes everything except the 2nd file.
Any ideas how to fix that to remove only
Edit: I have no idea how customer will name their files. Suffix can be anything, not only
txt_something. It could be also
txt-something, and so on...
I also cannot install any binaries on the server, I can only use the default ones.