Regedit - Dos commands

Discussion in 'Windows Desktop Systems' started by lieb39, May 8, 2003.

  1. lieb39

    lieb39 Apple lover, PC User

    Messages:
    526
    Location:
    Australia
    Hello,

    I want to make a batch file that imports two registry keys (.reg files)
    They are proxy / non proxy so that when I am switching between home and the office I do not have to change everything manually. I have about 5 keys which I wish to import. Basically I just want to import these keys into the registry without any questions or anything, through a batch file. Is this possible? My Registry keys which I wish to import are located at C:\Keys\

    Is this possible? how can it be done?

    Thanks,

    lieb39
     
  2. yoyo

    yoyo _________________

    Messages:
    1,557
    regedit /s "C:\Keys\something.reg"
    regedit /s "C:\Keys\somethingelse.reg"
     
  3. lieb39

    lieb39 Apple lover, PC User

    Messages:
    526
    Location:
    Australia
    Thanks. Worked like a charm.