Oh ok, that makes better sense. Yeah I was checking from the edit box which would make sense as to why $scriptdir pointed to the same dir as $mircdir.

Thank you.

For the record, in my scripts I was trying to point directly to the file path. Example:

Script is in E:/bots/script1/folder1/imgs/img1.ico

$mircexe == E:/bots/script1/mirc.exe

So if I wanted the icon I would say /folder1/imgs/img1.ico

I guess this is $mircdir which is now in the user folder. SO I just need to change these to $scriptdir. Thank you.