I assume you are trying to get a file director in the same folder mirc itself is listed? Ex: C:\mirc\ and trying to read C:\texts\myfile.txt I would just recomment trying a $remove($mircdir, mirc\) then using that as a directory prefix.. Easy enough to execute, and cshouldn't cause any problems. This will give you the C:\mirc\ or C:\Program Files\mirc\ then remove the folder name.. grin


-KingTomato