문제

I am looking for analogue of Unix/Linux shell command read. Now I use variables set via set password="bigsecret" and %password% but I want use via command prompt. Any ideas?

도움이 되었습니까?

해결책

set /p password="Please enter your password: "
echo you entered %password%.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top