June 13, 2012 at 6:55 pm #5312AnonymousInactive
I am attempting to use the batch file below with JavaRA with no success.
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\
JavaRa.exe /CLEAN /PURGE /SILENT
RMDIR /Q /S .\JavaRa
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.June 13, 2012 at 7:40 pm #5314AnonymousInactive
OK, so I feel like an idiot, wrong version. Now the problem is it removed all of the Java versions not just the old one. I have 6 and 7 on the boxes and am trying to just blow away the old ones.
EdJune 14, 2012 at 3:16 am #5323Shane GowlandKeymaster
There is a /REMOVEOLD switch to do just that. It’s still a work in progress, so I wouldn’t use it in a life and death situation – but it does work.