我正在用批处理语言聊天。我有2个窗口,在第一个窗口(READ.bat)中,您可以看到有人写的文本。
在另一个窗口中,您可以编写将出现在READ.bat文件中的文本。
如何使READ.bat文件出现在屏幕的右侧,而CHATIO.bat出现在左侧?
我在Google上搜索过,是新手,所以我不知道该怎么做
:CHAT_ITSELF
CLS
title write in chatio
//set the window size
mode con: cols=45 lines=7
PING localhost -n 1.2 >NUL
start read.bat
//this starts read.bat. I want to open it in for example left side of
screen
goto write
::write
//I want this to be mode con: cols=45 lines=7 in for example
right side of the screen
set/p "WRITEN= : "
echo %TIME:~0,5% %LOGIN%: %WRITEN% >> "server1.txt"
goto write