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


 
 

Re: modify registry with a var

thanks for your answer

i don't know how (i make some modification) but now it work

if you want i can post the script

thanks a lot nicolas
"Pegasus (MVP)" <I.can@xxxxxx> a écrit dans le message de
news:uqSD8ezDJHA.4800@xxxxxx
Quote:

>
> "NT" <nt29@xxxxxx> wrote in message
> news:%23c2QzXyDJHA.4696@xxxxxx
Quote:

>> 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
>
> - What are the values of "clea" and "valeurlue"?
> - What error message do you get?
>
My System SpecsSystem Spec