def exportRegKeysToFile(self, key, path):
"""Exports Windows registry key to a file
This function exports a Windows registry key to an ini-file.
@param key: The registry key to export. The key should include the section. Eg. "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion"
@type key: string
@param path: The path of the file to export to
@type path: string
"""
j.sal.fs.writeFile(path, self.exportRegKeysToString(key))
评论列表
文章目录