Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - About User Variable

Reply
 
Old 05-04-2009   #1 (permalink)
InputIO


 
 

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
Old 05-04-2009   #2 (permalink)
T Lavedas


 
 

Re: About User Variable

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

> 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
Old 05-05-2009   #3 (permalink)
InputIO


 
 

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

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

Thread Tools


Similar Threads
Thread Forum
How to read a user input value from command line and store it in a variable? VB Script
$Variable Is In {1,2,3,4} PowerShell
Re: How to display a variable value in a dialog box and how to read user input? VB Script
Set-Variable PowerShell
How can I ensure that a variable is a built-in powershell variable? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46