中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-10 16:54
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » How to make the batch start automatically enter full screen mode?
Printable Version  10,015 / 24
Floor1 vlanmaster Posted 2007-01-12 06:47
初级用户 Posts 46 Credits 100
As the title.
Also, can you tell me some commands such as limiting the size and width of the CMD window?
Floor2 cmshun Posted 2007-01-12 07:17
初级用户 Posts 36 Credits 85 From 四川德阳
start /max




mode con:cols=80 lines=8【This can set the size and width】

[ Last edited by cmshun on 2007-1-11 at 06:20 PM ]
Floor3 lxmxn Posted 2007-01-12 07:19
版主 Posts 4,938 Credits 11,386

  mode con cols=40 lines=10
Floor4 vlanmaster Posted 2007-01-12 08:13
初级用户 Posts 46 Credits 100
I more want to know how to full screen? The method of the 2nd floor is not okay, start /max just runs in maximized mode, not full screen.
Floor5 lxmxn Posted 2007-01-12 08:24
版主 Posts 4,938 Credits 11,386

```
mode con cols=200 lines=200
::或者直接Alt+Enter组合键。
```
Floor6 vlanmaster Posted 2007-01-12 08:27
初级用户 Posts 46 Credits 100
The length and width set to 200 for both upstairs are not full screen. Of course I know the Alt+Enter combination key. What I want is the effect of Alt+Enter. But it's not entering and then pressing Alt+Enter. It's directly entering this mode. Thanks.
Floor7 redtek Posted 2007-01-12 22:56
金牌会员 Posts 1,147 Credits 2,902
Enter full - screen mode

Thanks to Brother boluor for helping with testing and finding the error~ : )
The error has been corrected~ : )



 
 
 


Principle: First set the screen to enter the graphics mode 640*480 16 colors, and it will automatically switch to full - screen mode. (It's the same as when playing a game~ : )

Then set the screen to enter the text mode, 80*25 16 colors. In this way, it is equivalent to the full - screen text mode we enter by pressing alt+Enter.

[ Last edited by redtek on 2007 - 1 - 18 at 11:06 AM ]
Floor8 boluor Posted 2007-01-18 23:43
初级用户 Posts 54 Credits 129 From 武大信息学部
The method of the brother upstairs doesn't seem to work very well. When entering full screen, I can't see the command line, only the cursor is flashing.
Floor9 redtek Posted 2007-01-19 00:09
金牌会员 Posts 1,147 Credits 2,902
Thanks to Brother boluor for testing and finding the error~ : ) The error has been corrected. Brother, please try again to see if it can be full screen and if there is any garbled code problem~ : )
Floor10 boluor Posted 2007-01-19 00:16
初级用户 Posts 54 Credits 129 From 武大信息学部
The person upstairs is really serious, setting a good example for us. The modified one is already very good... It's amazing..
Floor11 luowei14 Posted 2007-01-26 01:26
初级用户 Posts 98 Credits 193
Received. There are really many experts here. I also saw the MODE CON command in HELP before and didn't pay attention. I didn't expect it has such powerful functions. I learned it today. I will pay more attention to this forum in the future. Thanks
Floor12 6622186 Posted 2007-06-19 18:25
高级用户 Posts 411 Credits 894
I think not many people understand debug
Floor13 6622186 Posted 2007-06-19 18:31
高级用户 Posts 411 Credits 894
Can't it just be chcp 936?
Floor14 vlanmaster Posted 2007-09-04 15:35
初级用户 Posts 46 Credits 100
Sure, that's a great method. Learned it.
Floor15 xxi Posted 2007-09-06 09:50
初级用户 Posts 24 Credits 48
@echo off

:: Set: run in full screen mode
echo exit|%ComSpec% /k prompt e 100 B4 00 B0 12 CD 10 B0 03 CD 10 CD 20 $_g$_q$_|debug>nul

chcp 437>nul
graftabl 936>nul

cd /d c:\
call cmd
pause
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023