开发者

Pre-Populate a Windows Command Prompt Windows with Text

开发者 https://www.devze.com 2023-02-16 07:21 出处:网络
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 TextCreate a batchfile (.bat

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

精彩评论

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