Getting Windows script error while running the appium command from command prompt

When I am trying to type the appium command in command prompt, I am getting the windows script error saying syntax error.