I am attempting to use the batch file below with JavaRA with no success.
[code title=”removeOldJava.cmd”]
@ECHO OFF
IF NOT EXIST %TEMP%\JavaRa MKDIR %TEMP%\JavaRa
IF NOT EXIST %TEMP%\JavaRa\JavaRa.exe COPY \\mymachine\C$\Downloads\JavaRa-1.16-5-5-12\JavaRa.exe %TEMP%\JavaRa\
IF NOT EXIST %TEMP%\JavaRa\JavaRa.def COPY \\mymachine\C$\Downloads\JavaRa-1.16-5-5-12\JavaRa.def %TEMP%\JavaRa\
CD %TEMP%\JavaRa
JavaRa.exe /CLEAN /PURGE /SILENT
CD ..
RMDIR /Q /S .\JavaRa
[/code]
The idea is to use psexec /c to copy the file to the remote machines and execute it.
The return code is -1073741819 no matter what I try.
Thanks for any pointers.