[quote="leo"]Limitations:
The script may fail and do nothing if the account you're using has never launched calc.exe before. It makes sure the registry setting it wants to modify already exists before changing it, to avoid creating a mess in the registry should the setting ever move in the future.[/quote]
It definitely fails in Windows 7 unless HKCU\Software\Microsoft\Calc
contains a DWORD entry named layout
. Once this has been created manually, it works perfectly.
Regards, AB