set /p password="Please enter your password: "
echo you entered %password%.
Windows batch: analogue of *nix shell read
-
13-07-2023 - |
Domanda
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?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow