it could be that the file u are trying to access is stored with mIRC.exe where as if u are trying to read with $read(file.txt) then it's looking in ur application folder.

To fix this run mIRC with portable enabled: ("c:\path-to-mIRC\mirc.exe" -portable)


I am SReject
My Stuff