View Single Post
Old 09-05-2008   #1 (permalink)
NT


 
 

modify registry with a var

hello

i make a script who modify a values in the registry, it is ok when i use the
values in the instruction , but it doesn' work when i use a variable, see :

i think it is something about the cote but ...

1) this part is ok

the values is : "toto@xxxxxx"

clepop=clea&valeurlue&"\POP3 User Name"
WshShell.RegWrite clepop,"toto@xxxxxx","REG_SZ"



2) this part doesn't work

modifmail = "toto@xxxxxx"
clepop=clea&valeurlue&"\POP3 User Name"
WshShell.RegWrite clepop,modifmail,"REG_SZ"


thanks a lot, nicolas

My System SpecsSystem Spec