I alway get system cannot find the path specified but I this is the gwcmd file that is causing the problem.
my backup file is on drive e: I can take a dir and it shows, I have tried other backup but always the same. I have edited the gwcmd.bat to point to correct java path.
If you comment out the the @ECHO OFF line in the .bat file, you’ll be able to specifically see which line is the problem (or at least see what it’s trying to do).
Here is my gwcmd.bat file:
‘’’
Rem @echo off
set CURRENTDIR=%CD%
set IGNITION_DIR=“C:\Program Files\Inductive Automation\Ignition”
set JAVA_CMD=“C:\Program Files\Java\jre1.8.0_221\bin\java.exe”
cd %IGNITION_DIR%
%JAVA_CMD% -classpath ".;lib/" com.inductiveautomation.catapult.control.HeadlessControlUtil dataDir=data currentdir="%CURRENTDIR%" %
cd %CURRENTDIR%
‘’’
Copy it as a command. it should just return the version number of Java. Use it as a sanity check that you can run java from the directory we’re trying to run gwcmd.bat from.
Copied this line from my only Windows install. Note the asterisk at the very end. I didn’t happen to see it on what you posted, but it could have been a copy / paste error.
I believe you’d be getting different errors if you were successfully invoking HeadlessControlUtil (and something like classpath, dataDir, etc was incorrect). The error message looks to be coming from Windows not being able to find java.exe (based on your JAVA_CMD var) to even be able to run the rest of it.