In the past, I’ve written a tip on how to organize your Windows Start Menu and it’s one of my favorite tips – I use it religiously after I’ve installed a new program on my machine.

Enter iTunes.

The problem is, every time iTunes is updated (and why isn’t Apple patching instead of making us install the entire 60+MB program again and again…) it creates a new shortcut in the Start Menu, along with a shortcut to Quicktime. Worse yet, the “old” shortcuts (the one’s that I’ve moved) don’t work anymore!!

To combat this, I’m following the “More than Twice” rule: If you do an operation more than twice, then you should create a script for it.

Project Goals

To achieve this crazy voodoo, we’re going to create another batch file. This script will do a few things:

  • Copy shortcuts to iTunes and Quicktime to the All Users Media Start Menu folder.
  • Copy a shortcut to iTunes into the current user’s Quick Launch.
  • Delete the iTunes and Quicktime directories from the Start Menu.

Now, we could create the script to move, as opposed to copy these items, but I like to have a little assurance that the files are actually where they need to be before I delete them.

Automatically Update the iTunes Start Menu Shortcut

To learn how to create a batch file, please review the post “How To Create a Batch File“.

The code is commented so it should be self-explanatory. Though, if you have any questions, leave a comment on this post and I’ll answer it for you!

  1. @echo off
  2. REM ***copy the iTunes shortcut to the "Media" folder and the current user’s Quicklaunch***
  3. xcopy "C:\Documents and Settings\All Users\Start Menu\Programs\iTunes\iTunes.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Media\" /Y
  4. xcopy "C:\Documents and Settings\All Users\Start Menu\Programs\iTunes\iTunes.lnk" "C:\Documents and Settings\%username%\Application Data\Microsoft\Internet Explorer\Quick Launch\" /Y
  5.  
  6. REM ***copy the Quicktime shortcut to the "Media" folder***
  7. xcopy "C:\Documents and Settings\All Users\Start Menu\Programs\QuickTime\QuickTime Player.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Media\" /Y
  8.  
  9. REM ***Delete the iTunes and Quicktime folders from the Start menu***
  10. rd "C:\Documents and Settings\All Users\Start Menu\Programs\iTunes" /s/q
  11. rd "C:\Documents and Settings\All Users\Start Menu\Programs\QuickTime" /s/q

Download

You can download the raw code – you must save the file with a .bat extension.

Options

If you’d like to change the Start Menu folder locations or names, you can do so on lines 3 and 7.