code: def get_program_files_dir():
      
      # Now see if we can look in the registry...
      val = ''
      if SCons.Util.can_read_reg:
          try:
              # Look for Windows Program Files directory
              k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
                                        'Software\\Microsoft\\Windows\\CurrentVersion')
              val, tok = SCons.Util.RegQueryValueEx(k, 'ProgramFilesDir')
          except SCons.Util.RegError:
              val = ''
              pass
  
      if val == '':
          # A reasonable default if we can't read the registry
          # (Actually, it's pretty reasonable even if we can :-)
          val = os.path.join(os.path.dirname(get_system_root()),"Program Files")
  
      return val
docs: Get the location of the program files directory
      Returns
      -------