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 - How to find Environment details of a process/exe?

Reply
 
Old 05-05-2009   #1 (permalink)
Prashant Gadhave


 
 

How to find Environment details of a process/exe?

I am setting some variables when my process starts running. I want to access
them in a vb script (using WMI or if any other way possible). I am able to
see these using 'Process Explorer' utility given by Microsoft, but how to
access them in vb script? Any help please.

My System SpecsSystem Spec
Old 05-06-2009   #2 (permalink)
T Lavedas


 
 

Re: How to find Environment details of a process/exe?

On May 5, 11:29*pm, Prashant Gadhave <Prashant
Gadh...@xxxxxx> wrote:
Quote:

> I am setting some variables when my process starts running. I want to access
> them in a vb script (using WMI or if any other way possible). I am able to
> see these using 'Process Explorer' utility given by Microsoft, but how to
> access them in vb script? Any help please.
What do you mean by "setting some variables"? Environment variables?
If so, the script should be able to access them using the
WScript.Shell object's Environment property or the
ExpandEnvironmentStrings frunction. See the WSH documentation:

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

If it's not environment variables, then please explain.

Tom Lavedas
***********
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
The system could not find the environment option that was entered Vista General
The system could not find the environment option that was entered Vista account administration
windows can't find environment options Vista General
how to find contact details after file transfer Vista file management
5308-64: Find files choose details Vista General


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