|
Answer» Hey everyone, i need help with something. I made this batch THING with a list of commands like 'TYPE 1 to do watever' I was wondering if there is any way to make a .txt file with text in it, for example: 'type 5 to save the readme for this file on the desktop'.
Thanks in advance.Why not just PRINT out the batch file?Have it echo the readme, but add ">> %userprofile%\Desktop" to the end (assuming you use XP). Like this:
ECHO Readme >> %userprofile%\Desktop ECHO. ECHO This file is designed to >> %userprofile%\Desktop
etc...How do you print something through a .bat file?
Either use the print or the type or the echo command DEPENDING where you want the output and where the input is.
Use the help switch /? with either command for more details. With type and echo you can redirect the output to the device of your choice.
8-)
|