vba - How can I write a script or a batch that will enable me to change image file name to each specific name? -


i have bunch of images (thousands) file name correspond employee number in spreadsheet. how write script change file name of image an employee number?

this how spreadsheet looks like:

i have 2 columns in spreadsheet "employeenumber" e.g: 10003568 & "filename" e.g: a647ac16825a4dbf86e0b704e4e9f853(1).jpg , thousands of rows.

i'm using windows.

every time have this, add column , in compose cmd commands operate on data in row.

so, working in row 2, column c. formula (in excel) similar i'd do.

=concatenate("rename """,a2,""" """,b2,".jpg""") 

the resulting text like

rename "a647ac16825a4dbf86e0b704e4e9f853(1).jpg" "10003568.jpg" 

it best include path source image (or both images if wanted copy images new location.

then, copy column c cells , paste them .cmd script , run it.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -