|
jhua
新手上路

积分 19
发帖 15
注册 2007-10-17
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
Originally posted by vlanmaster at 2007-1-12 08:27 AM:
答楼上的长宽都设200也不是全屏。
Alt+Enter组合键我当然知道,我要就是Alt+Enter的效果。但不是进入后按Alt+Enter。而是直接就进入这种模式。谢谢。
我把这段代码 复制 保存为1.bat
运行
结果 喀吧自动关闭
然后死机 重启………………
!!!!!!!!!!!!!!!!!??????????
Originally posted by vlanmaster at 2007-1-12 08:27 AM:
To the person above, setting both width and height to 200 is not full screen.
Of course I know the Alt+Enter combination key, and I want the effect of Alt+Enter. But it's not about pressing Alt+Enter after entering. It's about directly entering this mode. Thanks.
I copied this code, saved it as 1.bat, ran it, and then it喀吧automatically closed, then crashed and restarted………………
!!!!!!!!!!!!!!!!!??????????
|
|
2007-10-25 12:59 |
|
|
PPdos
高级用户
   
积分 783
发帖 268
注册 2006-12-26
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
e 100 B4 00 B0 12 CD 10 B0 03 CD 10 CD 20
redtek兄的这段代码真是奇妙 翻译一下 让大家学习
MOV AH,00
MOV AL,12
INT 10
MOV AL,03
INT 10
INT 20
Last edited by PPdos on 2008-6-20 at 07:13 PM ]
e 100 B4 00 B0 12 CD 10 B0 03 CD 10 CD 20
Brother redtek's this code is really wonderful, translate it for everyone to study
MOV AH,00
MOV AL,12
INT 10
MOV AL,03
INT 10
INT 20
Last edited by PPdos on 2008-6-20 at 07:13 PM ]
|

菩提本无树,明镜亦非台,本来无一物,何处惹尘埃. |
|
2008-6-21 02:10 |
|
|
7testing
新手上路

积分 16
发帖 17
注册 2008-4-8
状态 离线
|
『第 18 楼』:
使用 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
:rem 下面放置任何命令……
cmd
@echo off
:: Setting: 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
:rem Put any commands below...
cmd
|
|
2008-6-21 02:17 |
|
|
maikaluo
初级用户
 
积分 37
发帖 13
注册 2008-4-14
状态 离线
|
『第 19 楼』:
hao
使用 LLM 解释/回答一下
楼上的人太热心了............
好..............
这中精神 继续发扬
The people upstairs are too enthusiastic............
Okay..............
Continue to carry forward this kind of spirit
|
|
2008-6-23 08:55 |
|
|
okliweiok
新手上路

积分 2
发帖 1
注册 2008-8-21 来自 黄花山
状态 离线
|
『第 20 楼』:
真的可以,但还有问题
使用 LLM 解释/回答一下
我试了一下,真 的可以,佩服!!
但是我试了下,发现显示的文字都是扁的,这是为什么?
我很菜鸟,刚学习DOS望高手多指教!!!
I tried it, and it really works. Admiration!!
But I tried it and found that the displayed text is all flattened. Why is that?
I'm very noob, just learning DOS. Hope the experts give more guidance!!!
|
|
2008-8-21 15:26 |
|
|
tireless
银牌会员
    
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
全屏工具 FSTOGGLE.EXE (30.5KB)
FSTOGGLE.EXE usage:
fstoggle toggles the display mode
fstoggle 1 switch to fullscreen mode
fstoggle 0 switch to windowed mode
fstoggle ? print the display mode (0 or 1)
Any other syntax shows this message.
In any case, FSTOGGLE returns 0 or 1, indicating
the display mode as it exits.
Fullscreen tool FSTOGGLE.EXE (30.5KB)
FSTOGGLE.EXE usage:
fstoggle toggles the display mode
fstoggle 1 switch to fullscreen mode
fstoggle 0 switch to windowed mode
fstoggle ? print the display mode (0 or 1)
Any other syntax shows this message.
In any case, FSTOGGLE returns 0 or 1, indicating
the display mode as it exits.
|
|
2008-8-22 23:05 |
|
|
radem
高级用户
    CMD感染者
积分 691
发帖 383
注册 2008-5-23
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
高深啊
只能套用,不能理解
So profound
Can only be applied, cannot be understood
|

 |
|
2008-8-23 01:56 |
|
|
Vampire
初级用户
 
积分 176
发帖 78
注册 2007-4-15
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
正学汇编,redtek兄的代码又给了一个例子,只能看懂字面,不能理解精髓,继续努力,谢谢redtek兄的精彩代码。
I'm learning assembly. Brother redtek's code gives another example. I can only understand the literal meaning, but not the essence. I'll keep working hard. Thanks to Brother redtek for the wonderful code.
|
|
2008-11-6 09:48 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2008-11-6 18:23 |
|
|
bubblange
新手上路

积分 19
发帖 19
注册 2009-11-3
状态 离线
|
『第 25 楼』:
通过修改注册表
使用 LLM 解释/回答一下
==============================
@echo off
if not "%1"=="" goto restart
::“不能去掉
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
start "" %0 hello
exit
::再次打开此batch,并退出第一次打开的,其中的“hello”是传递的参数,可以随便改,只要不为空。
:restart
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
::下面放代码
==============================
以上是我从本论坛一个帖子中看到的,与大家分享;
另外我自己也想到了一类似的方法,如下:
注释与上面的代码类似。
==============================
@echo off
if "%control%"=="0" goto restart
::"不能去掉
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
set control=0
start "" %0
exit
:restart
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
::下面放代码
==============================
个人认为第二个代码有一个优点,如果在代码中包含会跳出全屏的命令,比如
shutdown、start taskmgr等,要想再自动恢复全屏(前面的batch当然包括全屏会关闭),就比第一个简单。
Example:
==============================
@ echo off
if "%control%"=="0" goto b
if not "%1"=="" goto a
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
start "" %0 u
exit
:a
set control=0
start taskmgr.exe
start "" %0
exit
:b
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
echo ok
pause
==============================
此例中第一次全屏采用了代码1,第二次采用了代码2;
其实,第一次全屏用2种代码均可,但后面的用代码2的形式会更简单。
Last edited by bubblange on 2009-11-18 at 21:41 ]
==============================
@echo off
if not "%1"=="" goto restart
::"Cannot be removed
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
start "" %0 hello
exit
::Open this batch again and exit the first one. The "hello" is the passed parameter, which can be changed randomly as long as it is not empty.
:restart
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
::Put the code below
==============================
The above was seen by me from a post in this forum and shared with you;
In addition, I also thought of a similar method, as follows:
The comments are similar to the above code.
==============================
@echo off
if "%control%"=="0" goto restart
::"Cannot be removed
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
set control=0
start "" %0
exit
:restart
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
::Put the code below
==============================
Personally, the second code has an advantage. If there are commands in the code that will jump out of full screen, such as shutdown, start taskmgr, etc. To automatically restore full screen again (the previous batch will of course close the full screen), it is simpler than the first one.
Example:
==============================
@ echo off
if "%control%"=="0" goto b
if not "%1"=="" goto a
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 1 /f >nul
start "" %0 u
exit
:a
set control=0
start taskmgr.exe
start "" %0
exit
:b
reg add hkcu\console\ /v fullscreen /t REG_DWORD /d 0 /f >nul
echo ok
pause
==============================
In this example, the first full screen uses code 1, and the second uses code 2;
In fact, the first full screen can use either of the two codes, but the form of code 2 will be simpler for the following.
Last edited by bubblange on 2009-11-18 at 21:41 ]
|
|
2009-11-18 21:15 |
|