Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let me explain:

I am going through a huge icon set, and choosing the icons I like. I have chosen maybe 250 out of 3000 icons. The way the icons are split up are like this:

  -> 16x16
   -> a.png
   -> b.png
   -> c.png
  -> 32x32
   -> a.png
   -> b.png
   -> c.png

I've copied the icons I want from the 32x32 folder, in to a folder "Big Icons". I want now to take the name of every icon I've selected in "Big Icons" and use that to select the icons with the same name in the 16x16 folder, to then copy those icons in to a folder called "Small Icons"

Is this possible?

share|improve this question
Do you have any scripting/programming environments set up (e.g. PowerShell, Python, or even C#)? This would be trivial to do in a PowerShell or Python script, or even to create a C# application to do it. – Breakthrough Jan 15 '13 at 16:59
looks at Visual Studio Don't know why I didn't think of that... I'll whip up a quick C# Console app to do it! – DTI-Matt Jan 15 '13 at 17:00
I'm on my Linux machine right now, so no VS/C# for me. If you're comfortable with C#, there's a lot of built-in system I/O classes which can handle file management for you. This should get you started ;) – Breakthrough Jan 15 '13 at 17:02
up vote 1 down vote accepted

From the BigIcons folder in a cmd window:

for %%X in (*) do copy .\16x16\%%X .\SmallIcons\

assumes all folders are in same parent directory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.