Batch Renaming - Preserve a part of filename

Here's two versions. The first plays on your "always the 17 characters after the first 4-plus-space" by using a "Substring" action.

Batch Rename Substring.kmmacros (4.1 KB)

Image

The second uses "there's a space before and a space after" to treat the name as a space-delimited array, taking the second element.

Batch Rename Spaces.kmmacros (3.5 KB)

Image

In both cases you can see we're using a "For Each" to process all the items in the selected directory, and the "If" checks that it is a file -- you could add more conditions if you wanted tighter control on what was processed. We split the file path into filename and extension, and finally concatenate the "new" name, a . and the saved extension as part of the "Move" action.

There are many other ways to do this -- I'm looking forward to what others might suggest!