Message 1 of 2
How to remove Model (1) from the end of a PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here is a .bat program I wrote to remove Model (1) from the end of a pdf. For some reason AutoCAD loves putting it in the file name.
rename "* model (1).pdf" "* "
rename "* model" "* "
for /f "tokens=* delims= " %%i in ('dir /b/s/A-d') DO (
if "%%~xi" == "" rename "%%~fi" "%%~ni.pdf"
)
I'm sure someone else has had this problem.