Is it possible to find out the Windows directory (ie: %windir%) using mIRC? I did find one snippet on MS org that uses com objects to access the registry but it doesn't seem to work (tested with XP).
I'm working on a small script that automatically opens up an installation to make it easier for someone to install a particular program on their own and the only thing left is to find out what drive letter program files are installed on. Windows has been installed before on another hard drive so there's more than one Program Files and Windows folder.
I'm using mIRC 6.16 as it can be opened straight from a CD.