title: Rename files recursively by adding them the folder's name and move them into another folder
body: <p>I have this:</p>
  
  <pre><code>&gt;upperFolder
    &gt;folder 0
      &gt;file 0
      &gt;file ...
      &gt;file n
    &gt;...
    &gt;foldern
      &gt;file 0
      &gt;file ...
      &gt;file n
  </code></pre>
  
  <p>...and I want this</p>
  
  <pre><code>&gt;upperFolder
    &gt;folder 0_file 0
    &gt;folder 0_file ...
    &gt;folder 0_file n
    &gt;...
    &gt;folder n_file 0
    &gt;folder n_file ...
    &gt;folder n_file n
  </code></pre>
  
  <p>For example:</p>
  
  <p>I have this:</p>
  
  <pre><code>&gt;Pictures
    &gt;Wallpapers
      &gt;Reaper
      &gt;Skull
      &gt;Night
    &gt;Avatars
      &gt;InuYasha
      &gt;Battler
      &gt;Valentino
  </code></pre>
  
  <p>...and I want this</p>
  
  <pre><code>&gt;Pictures
    &gt;Wallpapers_Reaper
    &gt;Wallpapers_Skull
    &gt;Wallpapers_Night
    &gt;Avatars_InuYasha
    &gt;Avatars_Battler
    &gt;Avatars_Valentino
  </code></pre>
  
  <p>I need this for renaming big amounts of files in Windows cmd. It's getting hard to do it all manually. Thanks in advance.</p>