Write the following in a batch file and say the input was “andreas”:

[bash]@echo off
echo == Capture Input ===
set server=192.168.1.12
SET /P Choice=Type your Username and press Enter:
echo Logging on to %server% with %choice%…
[/bash]

Output:

Logging on to 192.168.1.12 with andreas…