I just got the answer from Stargazer (the last person with this problem). He tried $sfile on a clean mIRC 6.31 install on windows XP SP2 32 bit. The result:
the same (just the path without filename).


using mirc 6.35 on WinXP Home SP3 and Windows 7