How to pass or return a .VBS variable called from .BAT

1

I have a script in cmd that calls a vbs script, which executes a series of operations and generates an array that I'm interested in being able to return to the cmd script, I was wondering if this is possible and if so, how could do it.

The method I'm using to call .vbs from the .bat is the CALL command.

Thank you.

    
asked by tHe_sHayKo 17.08.2018 в 12:56
source

1 answer

0

Finally solve the problem by printing all the contents of the array in a text file, reading later the contents of the same from the cmd script and finally deleting it, is not exactly what I was looking for but for now this solution has served me.

    
answered by 21.08.2018 в 09:43