Batch file to export a specific registry entry?

Kelemvor

Lifer
May 23, 2002
16,928
8
81
There's a specific registry entry that I need to export before I reimage a user's computer. Is there some way to make a little batch file (or whatever kind of program) that I can code with the specific registry entry that I want and have it export it to a prenamed file automatically when I run it?

Thanks.