Urgent: WSHShell.RegWrite Problem

T

Tim

Hi folks,

I use the following script to write registry entry:

WSHShell.RegWrite "HKCU\Software\Microsoft\Internet
Explorer\Main\Print_Background", "no"

I would like to replace "Print_Background" to "Print\ground.exe".

When I issued the command: WSHShell.RegWrite
"HKCU\Software\Microsoft\Internet Explorer\Main\Print\ground.exe", "no"

It created another folder called "Print" which was not I expected. Does
anyone know how to do it? Any help will be appreciated.

Thanks in advance.

Tim.
 
G

Guest

You have to escape the slashes. I've never used RegWrite,
but you might try something like
Print\\ground.exe
or
Print / \ ground.exe

(david)
 
Top