I would like to make a simple batch application that does two things.
- Asks the user to input a name, example "vega"
- Runs "finger [email protected]" and displays the output of that command.
The following does the first thing, but I am not able to output the result from the finger.
@ECHO OFF
:begin
echo Enter the name of the user you are looking for:
set INPUT=
set /P INPUT=Name: %=%
finger -l %INPUT%@mail.example.com
pause
GOTO begin