I'm sorry if it sounded like I was implying that you hadn't searched. You've been around long enough that I know you know to search, I just wasn't sure if you'd used the default time settings (which for this isn't long enough) and/or weren't sure of a proper topic to search for, since IP won't work.
When using a DOS window, you are using DOS, which 'runs' under Windows, rather than 'on top' of Windows, as mIRC does. So when you created the IP.txt file using the DOS window, you were creating it at a level under that where the Windows device names are stored.