Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: regedit syntax command line
The syntax to follow is:
regedit.exe [options] [filename]For example: regedit.exe /s myfile.reg
This would export the entire Software key to myfile.reg.
Note that it doesn't have to be a reg file you export to - it can be a text or document file, as well.
Example:
regedit /l:c:\windows\system.dat /r:c:\windows\user.dat /e c:\windows\newreg.regThis would be used in native dos to export the entire contents of system.dat and user.dat to newreg.dat
Example:
regedit /l:c:\windows\system.dat /r:c:\windows\user.dat /c c:\windows\newreg.regThis would create a new registry from the contents of "c:\windows\newreg.reg"and is normally used in conjunction with the previous example. Note - your current system.dat and user.dat are destroyed during this process. New dat files are built from the contents of newreg.reg
Example:
regedit /l:c:\windows\system.dat /r:c:\windows\user.dat /d HKEY_LOCAL_MACHINE\SOFTWARE\McAfee
Article ID: W15277
File Created: 2002:09:05:13:50:58
Last Updated: 2002:09:05:13:50:58