Windows Vista Forums

About User Variable
  1. #1


    InputIO Guest

    About User Variable

    Hi guys,

    i need to read a user variable locally on server with a vbs script ... how i
    can do it ?

    Thanks in advance.




      My System SpecsSystem Spec

  2. #2


    T Lavedas Guest

    Re: About User Variable

    On May 4, 12:34*pm, "InputIO" <n...@xxxxxx> wrote:

    > Hi guys,
    >
    > i need to read a user variable locally on server with a vbs script ... how i
    > can do it ?
    >
    > Thanks in advance.
    See the WSH documentation for either the Environment property or the
    ExpandEnvironmentStrings function. For example, ...

    with CreateObject("WScript.Shell")
    wsh.echo .Environment("PROCESS")("USERPROFILE")
    end with

    WSH 5.6 documentation download (URL all one line)
    http://www.microsoft.com/downloads/d...displaylang=en

    Tom Lavedas
    ***********

      My System SpecsSystem Spec

  3. #3


    InputIO Guest

    Re: About User Variable

    thanks , now i see on the vbs documentation for this object.

    bye.

    "T Lavedas" <tglbatch@xxxxxx> ha scritto nel messaggio
    news:355b549c-2850-44de-a897-3e3006165ae5@xxxxxx
    On May 4, 12:34 pm, "InputIO" <n...@xxxxxx> wrote:

    > Hi guys,
    >
    > i need to read a user variable locally on server with a vbs script ... how
    > i
    > can do it ?
    >
    > Thanks in advance.
    See the WSH documentation for either the Environment property or the
    ExpandEnvironmentStrings function. For example, ...

    with CreateObject("WScript.Shell")
    wsh.echo .Environment("PROCESS")("USERPROFILE")
    end with

    WSH 5.6 documentation download (URL all one line)
    http://www.microsoft.com/downloads/d...displaylang=en

    Tom Lavedas
    ***********


      My System SpecsSystem Spec

About User Variable problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read a user input value from command line and store it in a variable? Tony Bansten VB Script 5 25 Mar 2009
Re: How to display a variable value in a dialog box and how to read user input? Richard Mueller [MVP] VB Script 0 20 Jun 2008
Set-Variable Fred J. PowerShell 3 25 Oct 2006
tab and variable hn PowerShell 8 20 Oct 2006
How can I ensure that a variable is a built-in powershell variable? Sung M Kim PowerShell 7 22 Sep 2006