Originally Posted By: NTDOC
make it a UDF

Maybe a good idea, but I don't know if all versions of MySQL use these registry keys and keynames to indicate the "Location" and the "DataLocation" directories?
 Code:
$MySQLData=ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.1","DataLocation")+"data\"
$MySQLDump=ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.1","Location")+"bin\mysqldump.exe"

If yes, I could query for a key starting with "MySQL Server".