AnaplanClient.bat is not recognized as internal or external command, operable program or batch file

Options
BazdaSem
BazdaSem Member, ALL USERS, GroupMember, Community Member, Certified Model Builder Posts: 4 Occasional Contributor

Hi Team,

Could you please, assist with this problem? 

 

@echo off
rem example.

Set AnaplanUser="example@example.com:password"
set WorkspaceId="*****************"
set ModelId="*****************"
set Operation=-via http://example.net:10085 -export "Export_action.xls" -execute -get "D:\output.xls"

rem *** End of settings - Do not edit below this line ***

setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@echo %Command%
cmd /c %Command%
pause

 

Error message:

AnaplanClient.bat is not recognized as internal or external command, operable program or batch file

Comments

  • mahesh_y
    mahesh_y Member, ALL USERS, Partner Posts: 2 New Contributor

    Hi ,

     

    I'm facing the same error.Any solution?

     

    Thanks,

    Mahesh

  • ekta09
    ekta09 Member, ALL USERS Posts: 3 New Contributor

    Hi

    Could someone please suggest something .

    I have checked for the JAVA Connection and also tried running cmd from the Anaplan connect folder. NO LUCK 😞    

  • Preethi
    Preethi Member, ALL USERS, Partner, Certified Model Builder Posts: 5 Contributor

    Hi I was facing the same issue for long and finally got the solution. Hope this works for all facing the same issue.

     

    The example file is provided in example folder while the Anaplan Client.bat is in another folder. This is the reason why the error "Anaplan Client.bat is not an internal or external command" was thrown, because it was looking for the Anaplan Client.bat in the same folder where you are running for batch file.

     

    Just copy & paste the batch file that you want to run in the folder where Anaplan Client.bat resides & then run the file.

    This solved my problem.