i using android apk when my script running by using command prompt
Your question is about running appium by CMD is ok, but why would you want to run eclipse by command prompt? what you mean by “i using android apk when my script running by using command prompt”???
if you want to start appium programmatically you can refer https://www.seleniumeasy.com/appium-tutorials/how-to-start-appium-server-programmatically