Hello,
I couldn't find details about how to use file mask in a batch file. My requirement,
forfiles -p "C:\what\ever" -s -m *.log -c "cmd /c somecommmand"
instead of selecting all the log files (*.log), how to select all the log files which has an integer suffix at the end. Eg, Among the following files,
test.log, test1.log, test2.log, test3.log..
I need a file mask to select all except test.log
I tried test*.log
, but that slects test.log as well. It is preferrable to not include the file name part (test). something like, *<0-9d>.log
.
thanks.