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 1234 /C""" ,0
Please help. Thanks
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 1234 /C""" ,0
Please help. Thanks