You are not logged in.
Pages: 1
I'm wanting to print an output and I'm not really sure how to do it. can you help me out?
I'll just put an example:
@echo off
echo What's your name?
set /p name=
echo What's your age?
set /p age=
display:
echo Your name is: %name%
echo And you are %age% years old
echo.
echo.
echo ----------------------------
echo Do you want to print this? (Y/N)
set /p answer=
if %answer% == Y goto printer
if %answer% == N goto exit
:printer
????????????
........
how do I print :display?
Thanks
Offline
Pages: 1