How to run appium command through command prompt using a batch file

I’ve tried cmd.exe /k appium
but it is running indefenitely

Did you install from source, or use npm?

If installed from source, run the command node . from the directory where node is installed.

I am also facing same issue…!!
I have installed appium from NPM
How to create bat file to get appium start using bat??