Make the user enter information

Asked

Viewed 88 times

1

I’d like to know how do I make that on the screen of script in Batch appear:

"Please enter your name"

Thank you, any help is welcome

  • He doesn’t allow anyone to insert anything :/

1 answer

0

Use the set

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

echo Bem-vindo %NOME%

The /p is to display a message before reading the user input.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.