Getting user input with a prompt

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
serverdelux
Posts: 36
Joined: 04 Oct 2013 14:14

Getting user input with a prompt

#1 Post by serverdelux » 09 Oct 2013 21:17

Curious how I can put

Make your selection to the left of the cursor that waits for a response?

e.g.

Code: Select all

Make your selection: _ <--- Cursor blinking


It would have to do with this code

Code: Select all

set "c=" &set /p "c="


Thanks

ShadowThief
Expert
Posts: 1167
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Creating a batch that sets time/date ahead 33 days possi

#2 Post by ShadowThief » 09 Oct 2013 22:20

Code: Select all

set /p "c=Make your selection: "

serverdelux
Posts: 36
Joined: 04 Oct 2013 14:14

Re: Creating a batch that sets time/date ahead 33 days possi

#3 Post by serverdelux » 09 Oct 2013 22:53

ShadowThief wrote:

Code: Select all

set /p "c=Make your selection: "


Thank you

Works great :D

Post Reply