Make the user enter information

1

I'd like to know how to make the Batch script screen appear:

  

"Please enter your name"

Thanks, any help is welcome

    
asked by anonymous 09.09.2016 / 01:49

1 answer

0

Use set

@echo off
set /p NOME="Por favor insira seu nome: "

echo Bem-vindo %NOME%

The /p is for displaying a message before reading the user input.

    
09.09.2016 / 04:09