in reply to open programs with a particular file!

well, you're not all that specific if you need to interact with them, so. . .
perl -e "system 'C:\Program Files\TextPad 4\Textpad.exe'"
Works on my xp system to open textpad...