forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


zero-lenght binary value?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
geicsge
Newbie


Joined: 27 Feb 2009
Posts: 19

PostPosted: Fri Jun 19, 2009 10:51 am    Post subject: zero-lenght binary value? Reply with quote

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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat Jun 20, 2009 10:34 pm    Post subject: Reply with quote

Have you tried this?
Code:
registry write,HCU,test,test,@CHR(0),BINARY
Back to top
View user's profile Send private message Send e-mail
geicsge
Newbie


Joined: 27 Feb 2009
Posts: 19

PostPosted: Wed Jun 24, 2009 9:54 pm    Post subject: Reply with quote

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:
Code:
"AIFFFile"=hex(0):

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? Smile 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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat Jun 27, 2009 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Jun 27, 2009 5:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sun Jun 28, 2009 5:10 am    Post subject: Reply with quote

What about the XReg3.dll VDS extension written by Ralph Ludwig?
_________________
cheers

Dave
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jun 29, 2009 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group