Thanks for the response. I changed cmd /c to cmd /k and the reg query command is definitely not running. The DOS box just come up blank with a flashing curser. Does anyone know if the syntax is correct for the script? The command
reg query...
Thanks for the reply. I put in the space as you indicated but the output still just lists the machine name. I also removed the extra uneeded loop.
Thanks again for the help .
Hello all,
I am trying to run a vbscript to run a reg query command on remote systems. I am passing a list of system names into the script from a text file. The script runs and is reading the text file fine but the output is only writing the name of the system in the output text file, not the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.