I'm trying to solve another problem related to login scripts in DC, using a .vbs program but i'm stuch in another problem that is:
Code:
Set objShell = wscript.createobject("wscript.shell")
objShell.Run("here it call another .vbs that set some VOLATILE variables and needs to be VOLATILE")
objShell.Run("here I call my exe that needs the variables that was set by the previous command")
problem: when I call me exe it didn't "see" the variables, but if I run the .vbs by the second time it works because now it sees the variables. Already put a stop between objShell.Run to check if the problem was the time and wait 1 minute and didn't works.