Вопрос

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