Jump to content

Writing in registry with batch file


theutlass

Recommended Posts

Hi,

I was making a batch file wich write in the registry but i have to write something like that

"BackgroundColor"=hex:ff,ff,ff,00
"Text"=dword:00000400

and i dunno how to write this via a batch file

Thanx in advance

Link to comment
Share on other sites


Hi,

I was making a batch file wich write in the registry but i have to write something like that

"BackgroundColor"=hex:ff,ff,ff,00
"Text"=dword:00000400

and i dunno how to write this via a batch file

Thanx in advance

Something like this:

REG.EXE ADD "HKCU\Control Panel\Desktop" /v "BackgroundColor" /t REG_BINARY /d "ffffff00" /f
REG.EXE ADD "HKCU\Control Panel\Desktop" /v "Text" /t REG_DWORD /d "00000400" /f

Link to comment
Share on other sites

Wouldnt it be?

REG ADD "HKCU\Control Panel\Desktop" /v BackgroundColor /t REG_BINARY /d ffffff00 /f
REG ADD "HKCU\Control Panel\Desktop" /v Text /t REG_DWORD /d 00000400 /f

Edited by x-Shadow-x
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...