Batch file not working
Hi, I created a batch file which seemed to worked fine yesterday, but today it isn´t. This is the script msiexec.exe /i "\\server\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=XXXXXXX APITOKEN=XXXXXXX DESKTOPSHORTCUTS=0 IMPORTREGFILE=1 Thanks
0
Best Answer
-
W_deFazio Posts: 22
Hello LincolnAEL,
No problem, I'm happy to assist!!! The "%computername%" is the variable to grab the computer name of the machine and add it to the computers and contacts in TeamViewer.
The way I posted the code for you, will achieve what you want, which is to add the machine with their computer name to the contacts list.
Thank you!!!
5
Answers
Hello LincolnAEL,
Please try the example below for your batch script:
Let me know if this works for you or if you have any questions!