NirCmd Command Reference - regsetval

regsetval [type] [key] [value name] [value]
Writes a value to the Registry. the [type] parameter can be "sz" or "expand_sz" for strings, "dword" for 32-bit number, or "binary" for binary data. If the key you specify in [key] parameter doesn't exist, it'll automatically be created.
Examples:
regsetval dword "HKEY_CURRENT_USER\Software\Test" "Value1" "0xaabbccdd"
regsetval dword "HKCU\Software\Test" "Value2" "10561"
regsetval sz "HKCU\Software\Test" "Value3" "string value"
regsetval binary "HKLM\Software\Test" "Value4" "6a cb ab dd 80 86 95"

Other commands:
abortshutdownbeepcdromchangesysvolumechangesysvolume2
clipboardcloseprocesscmdshortcutcmdshortcutkeycmdwait
convertimageconvertimagesdlgdlganyemptybin
execexec2execmdexitwinfilldelete
gachibernateinetdialinfoboxinidelsec
inidelvalinisetvalinitshutdownkillprocesslockws
loopmemdumpmonitormovecursormultiremote
mutesysvolumeparamsfileqboxqboxcomqboxcomtop
qboxtoprasdialrasdialdlgrashangupregdelkey
regdelvalregeditregsetvalregsvrremote
returnvalsavescreenshotsavescreenshotfullsavescreenshotwinscreensaver
scriptsendkeysendmouseservicesetcursor
setcursorwinsetdialuplogonsetdisplaysetfilefoldertimesetfiletime
setprocessaffinitysetprocessprioritysetsysvolumesetsysvolume2setvolume
shellcopyshellrefreshshexecshortcutspeak
standbystdbeepsysrefreshurlshortcutwait
waitprocesswin

NirCmd Web Page

Download NirCmd

NirSoft Web Site