Please type to a mIRC window:
//echo -a $mircdir *** $nofile($mircexe)
Are the two outputs identical?
Is the return for $mircdir the path where your remote.ini (part of your backupped settings) is located?
Or is this remote.ini located in the latter?