Skip to main content
Prascena
Participant
January 16, 2018
Question

Bulk Rename PDF - Removing Suffix

  • January 16, 2018
  • 4 replies
  • 3704 views

Hi All,

I have 800 PDF files in a folder. All the PDF's have an unique number followed by -Layout1

I need to rename all these files in such a way -Layout1 is removed.

Existing:

1. 40322abr-Layout1

2. 40322abs-Layout1

3. 40322abt-Layout1

4. 40322abu-Layout1

Output Required:

1. 40322abr

2. 40322abs

3. 40322abt

4. 40322abu

Can anyone help me with a macro or batch file to do this?

Please note, i cannot use any external tool here.

Looking for help.

Regards,@

Prasanna.A

This topic has been closed for replies.

4 replies

Legend
January 16, 2018

You can rename one file with the REN command. You can rename 800 files with 800 REN commands. It should not be too hard to write a script or mess around in Word or Excel to create a BAT file with 800 REN commands, if your company policies force this.

try67
Community Expert
Community Expert
January 16, 2018

This has nothing to do with Acrobat. You need a file renaming utility. There are plenty of them around... Try googling it.

Prascena
PrascenaAuthor
Participant
January 16, 2018

I'm not able to find one. Cannot install anything from external. Any command i can use to rename? Please help

try67
Community Expert
Community Expert
January 16, 2018

Seriously? It takes about half a second to google it and find millions...

Here, I'll do it for you: Introduction - Bulk Rename Utility

It's a very powerful app and has a non-installer version which you can just download and run directly.

Legend
January 16, 2018

Acrobat cannot rename or delete files.

Bernd Alheit
Community Expert
Community Expert
January 16, 2018

MS Windows or Mac?

Prascena
PrascenaAuthor
Participant
January 16, 2018

It is Windows...

Bernd Alheit
Community Expert
Community Expert
January 16, 2018

On a Windows system you can use PowerShell.