Windows Vista Forums

modify registry with a var
  1. #1


    NT Guest

    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

  2. #2


    Pegasus \(MVP\) Guest

    Re: modify registry with a var


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

    > 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

  3. #3


    NT Guest

    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

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

    >> 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

modify registry with a var problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry Search Tool... Cleaning Up Vista Registry... Susan Vista General 9 19 Jan 2009
Wise Registry Cleaner vs AusLogics Registry Defrag vs CCLeaner? Coderedpl Vista performance & maintenance 7 29 Sep 2008
Registry Semi-Disaster: I am an idiot - used 2 registry 'cleaners' Sascha Jazbec Vista General 5 18 Feb 2008
Modify registry rscapers Vista performance & maintenance 2 28 Mar 2007
What can a normal user (e.g. administrator) can read and modify inthe Registry? MueMeister Vista security 8 13 Nov 2006