Hi,

We need a vbscript to write the below value.

"HKCR\MIME\Database\Content Type\text/html\"
"Encoding" = "hex: 08 00 00 00"

Please, Can any body help on this?

Regards,
Sanjeev.V
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Off the top of my head:

WSHShell.RegWrite "HKCR\MIME\Database\Content Type\text/html\Encoding", &h08000000, "REG_BINARY"


Might need some escape characters for the / in the registry path, but I'm sure you can look that up yourself [;)]
PJ
Answered 01/18/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
Hi,

I have checked with the above script, but instead of 08 00 00 00 I am getting 00 00 00 08 in the registry.

Can you just modify the script and reply back to me.
Answered 01/18/2010 by: sanhivi
Second Degree Green Belt

Please log in to comment
0
sanhivi,

Hope this helps:

Answer

Dunnpy
Answered 01/18/2010 by: dunnpy
Red Belt

Please log in to comment
0
Can you just modify the script and reply back to me.

considering the result of your test, are you sure you want me to change that script for you?

If so, PM me, I'll quote you my daily rates and maybe we can come to an understanding

...
Answered 01/19/2010 by: pjgeutjens
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity