finding root directory
Hi sorry to be dull... but ;)
I know I can find C:\windows or c:\winnt using $WINDIR
but I need to put a file in the root directory (in my case c:\my.cnf (mysql configuration file))
so how can I find out the root drive letter? I assume I can parse the $WINDIR somehow but have not a clue where to start - any pointers appreciated.