Solved how to save input in batch file in windows 7?

July 13, 2012 at 03:10:57
Specs: Windows 7
I made a batch file. It indlude some inputs specified below......
1. Name ::
2.Address ::
3. Contact No.::
Now I want to save this input with what they are means...
I want to see the batch file where i save the input like below...
Name ::
2.Address ::
3. Contact No.::
can any1 help me????
thanks 4 answer...........

See More: how to save input in batch file in windows 7?

Report •

#1
July 13, 2012 at 03:50:02
✔ Best Answer
Maybe:

@ echo off
cls

set /p name= what is your name?
set /p age= what is your age?
set /p weitht= what is your weight?
set /p food= what is your favorite food?
cls
echo Hi
echo your name is %name%
echo your age is %age%
echo your weight is %weight%
echo your favorite food is %food%
echo Have a nice day.


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question