does anyone know if there is a way (pr开发者_JAVA百科ogramatically or not) to open up a windows command prompt window and pre-populate it with text?
Run CMD.EXE /K ECHO The Text
Create a batchfile (.bat) that uses the type command, then open that:
echo "Hello World"
echo "Insert junk here"
cmd.exe
精彩评论