mIRC Homepage
Posted By: KyD /run and paths starting with ..\ - 11/01/03 08:00 AM
seems to be a bug in the way /run handles paths starting with .. (directory up).
for instance i've had $isfile(..\somedir\somefile.ext) return $true, whereas /run ..\somedir\somefile.ext gives an error: * /run: unable to open '..\somedir\somefile.ext'
Posted By: KyD Re: /run and paths starting with ..\ - 14/01/03 10:32 PM
forgot to mention, i'm using win xp pro sp1 and mirc 6.03.
Posted By: KingTomato Re: /run and paths starting with ..\ - 27/01/03 05:20 PM
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
© mIRC Discussion Forums