Skip to main content
May 30, 2025
Question

The syntax of the command is incorrect in cmd.

  • May 30, 2025
  • 2 replies
  • 0 views

Hi Everyone,

"While committing the code using Automated Version Manager (AVM) properties in the command prompt, I receive the message: 'The syntax of the command is incorrect.' The AVM path is correct, and no additional error message is provided."

Thanks & regards,

Srikanth.

    2 replies

    harshas2775
    May 30, 2025

    Along with action, vc_username and vc_password are required parameters. I don't see those in your config. 

    E.g. 

    > version-application -action addContents -vc_username  -vc_password  -application_path "C:\App.zip" -ddl_ds jdbc/AppianAnywhere -ddl_path â`œC:\script1.sqlâ`%9D -commit_message â`œAdding account executive recordâ`%9D

    davidj137213
    May 30, 2025

    Seems that you are missing arguments.