Jon Ownbey
Jon Ownbey

Reputation: 1448

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 help 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}

Upvotes: 1

Views: 2724

Answers (1)

pezcode
pezcode

Reputation: 5769

You have to quote the path to the reg file, even if it doesn't contain spaces.

Upvotes: 5

Related Questions