Basically want to rename the selected files based on their current name e.g.
if current file name contains _DNM then remove _DNM
else
if current file name doesnt contain _DNM then add _DNM to end of filename (before extension) - suffix
So if selected files are...
test_DNM.txt
test1_DNM.txt
renamed to
test.txt
test1.txt
If selected files are...
test.txt
test1.txt
renamed to
test_DNM.txt
test1_DNM.txt
Any ideas much appreciated
Thanks
Phat
XYplorer Beta Club