I'd simplify this to use WriteProfileString($File, 'Firefox', 'Version', $ReturnValue)
Eliminates the whole open/read/write logic. Creates a file with this content:
 Code:
[Firefox]
Version=<version string here>
You can use $Ver = ReadProfileString($File, 'Firefox', 'Version') to get the data.
Glenn
_________________________
Actually I am a Rocket Scientist! \:D