#1 : 31/07-22 11:46 Jeroen
Posts: 1
|
I've created a small batch-file to rename files in the same directory.
Only, the .bat itself gets renamed too. I tried -r /^(?!.*bat).*/ but that expression isn't valid. What expression can be used to excluded .bat ? |
#2 : 02/08-22 17:28 David Lee
Posts: 1125
|
-r \.(?!bat$)
|