Topic: Edit registry from the cmd prompt from a script  (Read 912 times)

0 Members and 1 Guest are viewing this topic.

Edit registry from the cmd prompt from a script
« on: May 06, 2015, 05:53:15 AM »

apinux

  • Jr. Chef
  • **
  • Date Registered: Nov 2011
  • Posts: 51
Is it possible to have a script that runs a bat file which updates the winbuilder registry?

Something like...

RegHiveLoad,Tmp_Default,%RegDefault%
RegHiveLoad,Tmp_Software,%RegSoftware%
RegHiveLoad,Tmp_System,%RegSystem%

ShellExecute,Hide,cmd.exe,"/c updatereg.bat %RegDefault%"

Thanks!
« Last Edit: May 06, 2015, 05:53:41 AM by apinux »

Re: Edit registry from the cmd prompt from a script
« Reply #1 on: May 07, 2015, 01:11:26 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6725
Yes  :thumbsup:

Tip:
RegCPE can also convert to Reg To Autoit3 and Reg To Reg ;)
If it is a static registry I advice to use Reg To Reg , lots of examples inside plugins where a reg file extracted and executed  :thumbsup:

 

Powered by EzPortal