Macro adding language codes to the names of packages

XYZ_XYZ

New Member
Joined
Dec 13, 2017
Messages
1
Hello,

I need a macro, which would go inside every zip package, remember the name of language folder inside and add that name to the beginning of package's name.

Example:

I have many packages in location: c:\Desktop\packages\
The packages' actual names look like this: 20171205.078361090_Package.zip
If you unpack them you will see several folders. One of them is always "en-US", and one is target language, let's say "fr-FR", but this one is different for every package. It might be "de-DE", "pt-BR" and so on.
I need to have that language code added to the name of corresponding package without unpacking or changing its content. So instead of 20171205.078361090_Package.zip, it should be: fr-FR_20171205.078361090_Package.zip

Can you please help me create macro like that?
Thank you in advance for any help.
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Watch MrExcel Video

Forum statistics

Threads
1,099,504
Messages
5,469,003
Members
406,627
Latest member
IncandenzaH1997

This Week's Hot Topics

Top