|
vlanmaster
初级用户
 
积分 100
发帖 46
注册 2006-12-19
状态 离线
|
『楼 主』:
如何使批处理启动自动进入全屏状态?
使用 LLM 解释/回答一下
如题。
最好再能给我说一些譬如限制CMD窗口大小,宽度等等的命令。
As the title.
Also, can you tell me some commands such as limiting the size and width of the CMD window?
|
|
2007-1-12 06:47 |
|
|
cmshun
初级用户
 
积分 85
发帖 36
注册 2007-1-2 来自 四川德阳
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
start /max
mode con:cols=80 lines=8
这个可以设大小和宽度
Last edited by cmshun on 2007-1-11 at 06:20 PM ]
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 ]
|
|
2007-1-12 07:17 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
mode con cols=40 lines=10
mode con cols=40 lines=10
|
|
2007-1-12 07:19 |
|
|
vlanmaster
初级用户
 
积分 100
发帖 46
注册 2006-12-19
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我更想知道如何全屏?2楼的不行,start /max只是最大化运行,不是全屏。
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.
|
|
2007-1-12 08:13 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
mode con cols=200 lines=200
::或者直接Alt+Enter组合键。
mode con cols=200 lines=20形
::或者直接Alt+Enter组合键。
```
mode con cols=200 lines=200
::或者直接Alt+Enter组合键。
```
|
|
2007-1-12 08:24 |
|
|
vlanmaster
初级用户
 
积分 100
发帖 46
注册 2006-12-19
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
答楼上的长宽都设200也不是全屏。
Alt+Enter组合键我当然知道,我要就是Alt+Enter的效果。但不是进入后按Alt+Enter。而是直接就进入这种模式。谢谢。
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.
|
|
2007-1-12 08:27 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
   『第 7 楼』:
使用 LLM 解释/回答一下
进入全屏幕模式
感谢boluor兄帮忙测试并发现了错误~:)
错误已经修正了~:)
@echo off
:: 设定: 运行在全屏模式下
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
:rem 下面放置任何命令……
dir
pause
原理: 先设置屏幕进入图形模式 640*480 16色,就自动切换到全屏模式了。(与玩游戏时的样子一样~:)
然后再设置屏幕进入文本模式,80*25 16色。这样就相当于我们按alt+Enter所进入的全屏幕文本模式。
Last edited by redtek on 2007-1-18 at 11:06 AM ]
Enter full - screen mode
Thanks to Brother boluor for helping with testing and finding the error~ : )
The error has been corrected~ : )
@echo off
:: Setting: Running 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
:rem Place any commands below...
dir
pause
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 ]
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2007-1-12 22:56 |
|
|
boluor
初级用户
 
积分 129
发帖 54
注册 2007-1-4 来自 武大信息学部
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
楼上兄弟的方法好象不是很管用啊,进入全屏,却看不到命令行,只有光标在闪啊
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.
|
|
2007-1-18 23:43 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
感谢boluor兄测试并发现错误~:)
错误已经修正,兄再试一下看看是否可以全屏和有没有乱码的问题~:)
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~ : )
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2007-1-19 00:09 |
|
|
boluor
初级用户
 
积分 129
发帖 54
注册 2007-1-4 来自 武大信息学部
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
楼上真是认真啊 ,给我们立了好榜样.修改后的已经非常不错了...叹为观止了..
The person upstairs is really serious, setting a good example for us. The modified one is already very good... It's amazing..
|
|
2007-1-19 00:16 |
|
|
luowei14
初级用户
 
积分 193
发帖 98
注册 2007-1-17
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
收下了 这里高手还真的挺多的 以前在HELP里也看到过MODE CON这个命令 也没在意 没想到还有这么强大的功能哈 今天算是领教了 以后我会经常关注本论坛 谢谢
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
|

这家伙很聪明 什么都没留下 |
|
2007-1-26 01:26 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
我想懂 debug 的不是很多吧
I think not many people understand debug
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-6-19 18:25 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
直接 chcp 936 不行么?
Can't it just be chcp 936?
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-6-19 18:31 |
|
|
vlanmaster
初级用户
 
积分 100
发帖 46
注册 2006-12-19
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
果然好方法。。学习了。
Sure, that's a great method. Learned it.
|
|
2007-9-4 15:35 |
|
|
xxi
初级用户
 
积分 48
发帖 24
注册 2007-8-31
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
@echo off
:: 设定: 运行在全屏模式下
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
@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
|
|
2007-9-6 09:50 |
|