Neil,
That looks like it could help Arlei out...I figured it had to be in the registry somewhere, but doing a search on "Program Files" in regedit is a very inefficient way to find it ;)
>Steve,
>
>The registry contains
>
>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProgramFilesDir
>
>You will have to check for discrepancies between OS's.
>
>HTH
>Neil
Steve Gibson