Windows Tutorials - Herong's Tutorial Examples - Version 5.62, by Dr. Herong Yang
Command Line Console Registry Tool - "reg.exe"
This section provides a quick description of the command line registry management tool: 'reg.exe'.
What Is "reg.exe"? "reg.exe" is a command line registry console tool allows you to manage the Windows registry. Try the following command in a command window:
C:\herong>reg /? Console Registry Tool for Windows - version 3.0 Copyright (C) Microsoft Corp. 1981-2001. All rights reserved REG Operation [Parameter List] Operation [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT ] Return Code: (Except of REG COMPARE) 0 - Successful 1 - Failed For help on a specific operation type: REG Operation /? Examples: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /?
This tells us that the "reg.exe" is providing registry management functions as the "regedit.exe". The difference is that the "reg.exe" is a command line interface tool, and "regedit.exe" is a graphical user interface tool.
Table of Contents