I have a VBScript, where I have a 2D array. From the VBScript I'd like to call an .exe, written in C++.
Can I pass this VBScript array to the .exe by commandline or somehow else? If yes, how, and how do I process it? ( An example would be great.)
If it is not possible, with a 2D array, but it is with a 1D array, it is also a solution too.
Thanks!
Update: Just to clarify: I don't wish to pass the items of the array, one by one. I want to call the exe only once passing the whole array somehow, and process it inside the exe.
Update2: The array contins only strings, and the host environment for the script is Windows Script Host. Creating any file on the hard drive is not an option unfortunately.