B
Borka
Hi all!
I have some questions.
1. I write script which controls registry settings, which must work
on every computer.
If I try
JFSO = new ActiveXObject("Scripting.FileSystemObject");
JWS = new ActiveXObject("WScript.Shell");
key =
JWS.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\").toL
owerCase();
or
key =
JWS.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run").toLow
erCase();
I recieve the message:
"Unable to open registry key ... for reading."
I heard I can read it using WMI, but WMI must be installed
on every PC where my script will work. It's unreal.
Is there a possibility to read this key without WMI?
2. I would see content of binary file in a hexadecimal form.
How can I read binary file?
Thank in advance.
Boris A. Chertenko aka Borka.
I have some questions.
1. I write script which controls registry settings, which must work
on every computer.
If I try
JFSO = new ActiveXObject("Scripting.FileSystemObject");
JWS = new ActiveXObject("WScript.Shell");
key =
JWS.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\").toL
owerCase();
or
key =
JWS.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run").toLow
erCase();
I recieve the message:
"Unable to open registry key ... for reading."
I heard I can read it using WMI, but WMI must be installed
on every PC where my script will work. It's unreal.
Is there a possibility to read this key without WMI?
2. I would see content of binary file in a hexadecimal form.
How can I read binary file?
Thank in advance.
Boris A. Chertenko aka Borka.