Adding Multiple Hosts in WAMP

Today I was working with my local server and came across a unique situation. I had thousands of WordPress autogenerated images and thumbnails in a local drive. The size was huge. I had to delete only thumbnails with names of special patterns and Windows didn’t give me an option to do that. Quickly I came up with a PHP solution. But I dint want to move that folder to the default localhost directory of WAMP. The solution was to add multiple hosts and access the custom directory with another local URL.  Here is the script I used to add multiple Virtual hosts to my WAMP server.
Finally accessed my delete script with http://newsite
Bingo! Deleted all thumbnails with one click.
(The purpose of this post is to show how to add multiple hosts. So I am not posting the PHP script here, which is specific to my needs.)