Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
MS Windows or Mac?
Copy link to clipboard
Copied
It is Windows...
Copy link to clipboard
Copied
On a Windows system you can use PowerShell.
Copy link to clipboard
Copied
Acrobat cannot rename or delete files.
Copy link to clipboard
Copied
This has nothing to do with Acrobat. You need a file renaming utility. There are plenty of them around... Try googling it.
Copy link to clipboard
Copied
I'm not able to find one. Cannot install anything from external. Any command i can use to rename? Please help
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more