thanks the script works well smile

i have done one tweak and removed the absolute path to firefox.exe and just used run "firefox.exe" $regml(1) so it works on both x86 and x64 versions of Vista