Page 1 of 1

Windows 10 - rename file name with template?

Posted: Sat Jul 25, 2020 9:25 pm
by NoPostageNecessary
Hi,

Is there a way to use XnShell to rename a file to have the dimensions of the image?

e.g., file https://www.xnview.com/assets/img/app-xnsoft-512.png

After downloading as app-xnsoft-512.png I'd like to rename it to have a trailing dash + dimensions: app-xnsoft-512-175x175.png

I rarely need to do this in bulk so XnView seems like overkill to me. I looked at nConvert v7.41 but there only appear to be a limited number of ways to modify the filename:

Code: Select all

-o filename       : Output filename
    Use # to specify position of numeric enumerator
    Use % to specify source filename
    Use $ to specify full source pathname
    Use $$ to specify source folder name
    Use $EXIF:DateModified[date format] to specify EXIF date modified
    Use $EXIF:DateTaken[date format] to specify EXIF date taken
						Date format: Please check documentation of strftime

Re: Windows 10 - rename file name with template?

Posted: Wed Aug 19, 2020 12:03 pm
by xnview
currently you can't with nconvert, only with XnView

Re: Windows 10 - rename file name with template?

Posted: Wed Aug 19, 2020 7:47 pm
by NoPostageNecessary
OK, thanks for the reply, I'll give XnView a try.