开发者

Pre-Populate a Windows Command Prompt Windows with Text

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜