1.

Solve : Some Batch help?

Answer»

Ok I have some idea of batch files but I WOULD like to make it so if someone entered SOMETHING into a batch file, then it would display on a selected notepad document.
ex:
Code: [Select]:1
cls
@echo off
title Start
echo.
echo How are you?
echo Bad - Ok - Good
echo.
set 2=
set /p 2=
:2
cls
title %2%
@echo off
%2% <---- have this sent to some kind of word document and be saved.
pause
goto 1Quote from: LittleQuick on May 15, 2010, 10:00:45 AM

Here...just changed a bit to make it better

Code: [Select]@echo off
:1
cls
title Start
echo.
echo How are you?
echo Bad - Ok - Good
echo.
set 2=
set /p 2=
:2
cls
title %2%
echo %2% &GT;> "%userprofile%\Desktop\word_document.doc"
pause
goto 1If you WANT information about what the >> means, look here.


Discussion

No Comment Found