In mIRC, identifiers (commands that start with $ and return a value) cannot be directly next to characters other than space. Try this:
/pinfo /play -q4t $+ $2 $nick D:\Program\mIRCStorm\info.txt
The $+ identifier joins the text before and after itself.
-genius_at_work