Use JREN to truncate filenames and then add incrementing numbers to duplicates

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
PTRACER
Posts: 1
Joined: 06 Jun 2019 22:56

Use JREN to truncate filenames and then add incrementing numbers to duplicates

#1 Post by PTRACER » 06 Jun 2019 23:05

I discovered the fabulous JREN script today and it looks perfect for what I need to do!

So, I would like to truncate all filenames and folder names to 8 characters long within a parent folder and all of its subfolders. File extensions are all different. However I want to negate the risk of having duplicate filenames since 8 chars is quite short and the script not completing fully. Adding an incrementing number to the end of the filename would be acceptable in this case.

I would also like to be able to copy it to the folder in question and have it run from there when I double click.

Can someone help?

Post Reply