阅读背景:

Windows下打开多个console程序,同时指定其窗口位置的批处理方法

来源:互联网 

示例:

E:	
cd E:\Bin\Server1
reg add hkcu\Console /t REG_DWORD /v WindowPosition /d 0x0000 /f    //1
start Server1.exe   //2
@ping -n 3 127.1>nul  //3

cd E:\Bin\Server2
reg add hkcu\Console /t REG_DWORD /v WindowPosition /d 0x029d /f
start Server2.exe
@ping -n 1 127.1>nul

cd E:\Bin\Server3
reg add hkcu\Console /t REG_DWORD /v WindowPosition /d 0x053a /f
start Server3.exe
@ping -n 1 127.1>nul

cd E:\Bin\Server4
reg add hkcu\Console /t REG_DWORD /v WindowPosition /d 0x2600000 /f
start Server4.exe
@ping -n 1 127.1>nul

cd E:\Bin\Server5
cd E:\Bin\Server1
reg add hkcu\Con



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: