Skip to main content
Participating Frequently
May 30, 2025
Question

The syntax of the command is incorrect in cmd.

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
    Brainy
    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

    Happy to help. Even happier to optimize.
    davidj137213
    Brainy
    May 30, 2025

    Seems that you are missing arguments.