bat强制全屏
答案:2 悬赏:0 手机版
解决时间 2021-01-14 16:23
- 提问者网友:箛茗
- 2021-01-14 04:50
bat强制全屏
最佳答案
- 五星知识达人网友:酒者煙囻
- 2021-01-14 05:09
::bat文件开头:
@echo off
reg query HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen>nul 2>nul
if errorlevel 1 (
reg add HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen /t REG_DWORD /d 1 /f
start cmd /c %0
exit
)
::结尾:
reg delete HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen /f
@echo off
reg query HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen>nul 2>nul
if errorlevel 1 (
reg add HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen /t REG_DWORD /d 1 /f
start cmd /c %0
exit
)
::结尾:
reg delete HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FullScreen /f
全部回答
- 1楼网友:一秋
- 2021-01-14 05:53
在头部插入以下代码:
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
例:
@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
::现在正文开始了
.........
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
例:
@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
::现在正文开始了
.........
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯