Hi. Is there a way I could pass the value of the variable to DOS commandline?
ID="JohnDoe"
Pwd="1234"
objShell.run """C:\Program Files (x86)\TeamViewer\teamviewer.exe"" -i & ID -P & pwd /C""" ,0
but this works:
objShell.run """C:\Program Files (x86)\TeamViewer\teamviewer.exe"" -i JohnDoe -P...
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.