‎03-12-2019 12:30 PM - last edited on ‎04-01-2024 04:40 PM by Mercedes_O
This is my script:
Command:
Xcopy "{PackageShare}\Installers\uninstall.exe" c:\remotefolder /I /A /R /Y
Command:
Xcopy "{PackageShare}\Installers\executeFile.bat" c:\remotefolder /I /A /R /Y
Command:
c:\remotefolder \executeFile.bat
The bat files contains the uninstall command inside that execute the uninstall tool.
But the .bat file does not work. The uninstall.exe does not execute.
I tried one bat with a "msg * test ok" command and it does execute, tried one with a "dir > s.txt" but the s.txt file it's not created.
Why some commands execute on the remote machine and others not?
‎03-20-2019 07:15 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now