Dave, ActivePerl 5.8.0 build 806 (for Windows)
http://www.activestate.com/Products/Download/Register.plex?id=ActivePerl should give you the command line ability with Perl and will automatically write itself to your path statement (if I remember correctly). I have never played with a command line for php but have never needed to on my Windows server, I just made sure all the proper settings were made in IIS and it's always worked okay for me although I imagaine for what you are doing you will need it