| View previous topic :: View next topic |
| Author |
Message |
geicsge Newbie
Joined: 27 Feb 2009 Posts: 19
|
Posted: Fri Jun 19, 2009 10:51 am Post subject: zero-lenght binary value? |
|
|
How can I write a zero-lenght binary value?
registry write,HCU,test,test,???????,BINARY
I must see this result in regedit:
Name Type Data
test REG_BINARY (zero-lenght binary value)
not this one:
Name Type Data
test REG_BINARY 00 |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Jun 20, 2009 10:34 pm Post subject: |
|
|
Have you tried this?
| Code: | | registry write,HCU,test,test,@CHR(0),BINARY |
|
|
| Back to top |
|
 |
geicsge Newbie
Joined: 27 Feb 2009 Posts: 19
|
Posted: Wed Jun 24, 2009 9:54 pm Post subject: |
|
|
It is not working... it creates 00, not a null binary value...
Here it is an example:
| Code: |
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.aif\OpenWithProgids]
"AIFFFile"=hex:
|
Plus, this example is more tricky... the reg type in this case is REG_NONE, and is it not supported by VDS... the real example is:
But, I see all REG_NONE examples I have are in fact BINARY values... this is an other story...
So, this is the question... when you create a BINARY value with the default regedit, it has no value, it is a null one... the message is clear: zero-lenght binary value... how can I create it with VDS? The windows regedit can create it... just try and see this is the default, for the begining the binary key is null, after that you can populate it with some values... |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Jun 27, 2009 5:13 pm Post subject: |
|
|
You could try using a command-line
| Code: | | runh reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.aif\OpenWithProgids /v AIFFFile /t REG_NONE /F /D @chr(34)@chr(34) |
Last edited by Aslan on Sun Jun 28, 2009 4:19 am; edited 1 time in total |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sat Jun 27, 2009 5:31 pm Post subject: |
|
|
geicsge,
I actually have a DSU that has this ability among a few other abilities to enhance the VDS registry commands/functions that I started writting some time ago. I am working on the final touches and should be releasing it soon. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sun Jun 28, 2009 5:10 am Post subject: |
|
|
What about the XReg3.dll VDS extension written by Ralph Ludwig? _________________ cheers
Dave |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Jun 29, 2009 2:33 pm Post subject: |
|
|
| DaveŽ wrote: | | What about the XReg3.dll VDS extension written by Ralph Ludwig? |
Did this DLL get updated to work with VDS 5 and above? _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
|