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
这是大家知道的实现全屏幕的代码,用了一下,发现以下问题:
1. 实现全屏幕后字体外观很差,有种被压扁的感觉
2. 光标的移动会被完全显示出来,输出空格的时候光标显示出来了不好看
3. 最严重的一个问题,ping 是能ping到外网,无法使用VBS联网。
比如在CMD下载网页源代码的VBS在这个全屏幕模式下用不了,我已测试过。
4. 好象被卡巴报出”改变输入输出方向。。。“
第二种实现全屏幕的方法:
按ALT+ENTER ,这个也是大家知道的,用这种方法完全没有以上提到的四个问题。不过,大家不知道有没有办法使用用ALT+ENTER全屏幕,要自动的,不要人为去按的。
第三种实现全屏幕的方法:
这种是永久全屏幕的,改注册表以下键值:
HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe
"FullScreen"=dword:00000001
若没有%SystemRoot%_system32_cmd.exe 这个子项则新建一个。
通过这种方法实现的全屏幕模式和第二种有完全一样的效果,只是全屏幕是永久的,除非你改回FullScreen 的值为 0
那么能否让批处理文件一开始运行就改了注册表 FullScreen的值呢?
答案是肯定的,但是一开始打开的批处理程序内存不会刷新
也就是说,一开始打开就算你改了注册表也是实现不了全屏幕的,下次启动批处理才会实现全屏幕```所以,希望有达人能解决这个问题
我想要的是不需要第二次运行就能实现全屏幕,或者有人告诉我这是永远无法实现的,好让我死了这个心也行,不过要有根据。
---------------------------------------------------------------
初步解决办法见13楼
缺陷: 我发现修改注册表那种方法联网出现了点问题,具体见下面贴子:
http://www.cn-dos.net/forum/viewthread.php?tid=33750&fpage=1
Last edited by dosmania on 2007-9-23 at 08:07 PM ]
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
This is the code everyone knows to achieve full screen. After using it, the following problems are found:
1. The font appearance after achieving full screen is very poor, and it has a feeling of being squashed.
2. The movement of the cursor will be fully displayed, and it doesn't look good when the space is output and the cursor is displayed.
3. The most serious problem is that ping can reach the external network, but VBS network connection cannot be used.
For example, the VBS for downloading web page source code in CMD cannot be used in this full screen mode, which I have tested.
4. It seems that Kaspersky reports "changing the input and output direction..."
The second method to achieve full screen:
Press ALT+ENTER, this is also known to everyone. Using this method, there are none of the four problems mentioned above. However, everyone doesn't know if there is a way to use ALT+ENTER full screen automatically without manual pressing.
The third method to achieve full screen:
This is a permanent full screen. Modify the following registry key value:
HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe
"FullScreen"=dword:00000001
If there is no such sub-item %SystemRoot%_system32_cmd.exe, then create one.
The full screen mode achieved by this method has exactly the same effect as the second one, except that the full screen is permanent, unless you change the value of FullScreen to 0.
Then can the batch file change the value of FullScreen in the registry at the beginning?
The answer is yes, but the memory of the batch program opened at the beginning will not be refreshed
That is to say, even if you change the registry at the beginning, full screen cannot be achieved. It will be achieved when the batch is started next time. So I hope that experts can solve this problem.
What I want is to achieve full screen without the second run, or someone tells me that this is forever impossible, so that I can give up, but there must be basis.
---------------------------------------------------------------
The preliminary solution is seen in building 13
Defect: I found that there was a problem with the network connection when using the method of modifying the registry. The specific details are in the following post:
http://www.cn-dos.net/forum/viewthread.php?tid=33750&fpage=1
Last edited by dosmania on 2007-9-23 at 08:07 PM ]