Anaplan Connect - Export Script
I am getting the following error, followed by a list of options in my CMD window when i run my batch file.
My batch file is as follows (minus credentials and export names);
Set Operation=-export "XXX" -get "XXX"
rem *** End of setting - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model%ModelId% %Operation%
cmd /c %Command%
This is my error message:
Running Anaplan Connect...
Using Class-Path: C:\Users\XXX\Downloads\anaplan-connect-1.4.1\anaplan-connect-1.4.1-jar-with-dependencies.jar
2019-07-19 15:42:29 [1;31mERROR[0;39m [35m16992[0;39m |-- Options are:
And the list goes on with a huge list of options.
Any help would be much appreciated.