I'm sure something has changed [...] but it should still work.
Just to be clear, your script is wrong to begin with, mIRC did not change, you were lucky that it worked in the past because you were not using a folder's name containing a space, your script shouldn't be 'still' working.