How can I create a global variable?




Hello,
I have two vbScripts. In a.vbs I will create a global variable glVariable as
String, so that
I can read this variable in a other script (b.vbs) - msgBox glVariable.
How can I do that?

Thanks.

Hartmut Callies



.



Relevant Pages

  • Re: Updating registry keys for Internet Explorer bombs-out
    ... It looks like the problem is the lack of quotes ... string values. ... > I have a script that I am updating Internet Explorer settings for the ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Re: How can I create a global variable?
    ... > I have two vbScripts. ... Considering using the volatile environment. ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Function to retrieve running script
    ... Is there a function that allows one to get the name of the same script ... running returned as a string? ... Harlin Seritt ... Prev by Date: ...
    (comp.lang.python)
  • Re: Function to retrieve running script
    ... Harlin Seritt wrote: ... > Is there a function that allows one to get the name of the same script ... > running returned as a string? ... Prev by Date: ...
    (comp.lang.python)
  • "Type mismatch" error in JScript - newby question
    ... I'm trying to create a simple text file that will allow a string of text to ... The script firstly creates the text file, ... to then open that file for writing into it, I keep on getting a "type ... Prev by Date: ...
    (microsoft.public.scripting.jscript)