Command Line regedit key export syntax
I'm attempting to export a specific key value in command line (Win7) and I don't think I have the syntax down correctly. I have found a number of examples that show the correct order, but I think the path I'm using is incorrect. Any he开发者_如何转开发lp is greatly appreciated.
Here's what I tried:
regedit /e c:\users\<user>\Desktop\exportedkey.reg HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\FontAndColors\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}
You have to quote the path to the reg file, even if it doesn't contain spaces.
精彩评论