i'm not sure why /write'ing to global.hash.txt would fail, unless "global.hash" is a device name for you. I was able to /write to that filename ok. mIRC is treating everything after the final period as the extension, not everything after the first period, so it sees the filename as global.hash.extension not global.extension.