Anything you do with files that have spaces has to be done with quotes. Otherwise, there is no way to know when the file ends and when additional information begins.
The only exception to this rule is when you use identifiers because the ()'s show where the filename is.
Example:
$read(c:\program files\mirc\
versions.txt,1)
Note that you can use $qt() to put quotes around stuff when needed.