|
Answer» How would you allow a user to INPUT some text as a VARIABLE? such as: var: %name% ECHO PLEASE type your name. so that %name%=(their text) Thanks.That's not possible unless you DOWNLOAD some user-input program that SETs the input as a variable... Try searching on Google for it.In W2000 and later, you can read from standard input (keyboard):
SET /P name="Please type your name "You could also do...
set name=%USERNAME%
That is if the users are required to login to the respective system to run the script.
|