相关文章推荐
豪气的打火机  ·  git checkout ...·  4 月前    · 
小眼睛的大葱  ·  Kong ...·  9 月前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

is there a way to execute a command from command line that usually asks for user interaction but doing it silently.

I found this googling

    keytool -genkey -noprompt \
   -alias alias1 \
   -dname "CN=mqttserver.ibm.com, OU=ID, O=IBM, L=Hursley, S=Hants, C=GB" \
   -keystore keystore \
   -storepass password \
   -keypass password

but how do I format it to make it run in the command prompt?

thanks

Not sure I understand I am using visual studio 2015 if the helps should I run that as a single line in the ms build prompt is that what u mean – developer9969 Jul 18, 2017 at 16:54 Where you trying to run it? In Windows shell or from Android Application? You can remove the \ and turn it single line if you want – Marcos Vasconcelos Jul 18, 2017 at 17:01

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.