[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::windows-nt

Title:Windows NT
Notice:See note 15.0 for HCL location
Moderator:TARKIN::LIN.com::FOLEY
Created:Thu Oct 31 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6086
Total number of notes:31449

5633.0. "REGEDT32 command line mode?" by CRONIC::LEMONS (And we thank you for your support.) Mon Feb 03 1997 09:31

    Hi
    
    How can I apply a .REG file, generated by REGEDT32, to a registry in
    non-interactive mode?  Does REGEDT32 have a command line mode?
    
    Thanks!
    tl
T.RTitleUserPersonal
Name
DateLines
5633.1REGINI.EXEDECWET::MVBMonty VanderBiltMon Feb 03 1997 09:4513
Use REGINI.EXE (in resource kit)

REGINI /? give usage info

The file syntax is fairly simple. Here is a sample xxx.ini file to
install keys for a service named "xxx"

\registry\machine\system\currentcontrolset\services\xxx
    Start = REG_DWORD 0x00000003
    Group = Extended base
    ErrorControl = REG_DWORD 0x00000001

The command "regini xxx.ini" will add these keys to the registry
5633.2Answered wrong questionDECWET::MVBMonty VanderBiltMon Feb 03 1997 10:187
Sorry, I reread .0 and realized I answered a different question than you asked. 

I don't know of any command line method to process files saved from
REGEDT32.EXE. 

If you save a key from REGEDIT.EXE the format is close to what
REGINI.EXE expects, but would still require editing.