Is it possible to submit more than 1 choices in "set /p choice" in batch programming? -


so here code, try explain problem little better.

@echo off cls title sold products :start echo products echo. echo. echo  1) product1     2) product2 echo. echo  3) product3     4) product4 echo. echo  5) product5     6) product6 echo. set /p products= products have been sold?:  echo %products% >> products.txt goto start 

basically need is.. instead of choosing 1 product time, able choose more 1 , append them on txt file... product1 , product2.

p.s. sry bad english....


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -