批处理MS DOS里怎么改变当前字体大小
2013-08-04
展开全部
@echo offset regadd=reg add "hkcu\console\%%SystemRoot%%_system32_cmd.exe"
set regdel=reg delete "hkcu\console\%%SystemRoot%%_system32_cmd.exe"if defined batcall (
%regadd% /v FaceName /d "" /f >nul
%regdel% /v FontSize /f >nul
%regdel% /v FontWeight /f >nul
goto :code
)
%regadd% /v FaceName /d "新宋体" /f >nul
%regadd% /v FontSize /t REG_DWORD /d 0x00130000 /f >nul
%regadd% /v FontWeight /t REG_DWORD /d 0x00000190 /f >nul
set batcall=1
cls
start %~s0&exit:code
REM 其他代码写在下面
echo 字体修改成功
pause
set regdel=reg delete "hkcu\console\%%SystemRoot%%_system32_cmd.exe"if defined batcall (
%regadd% /v FaceName /d "" /f >nul
%regdel% /v FontSize /f >nul
%regdel% /v FontWeight /f >nul
goto :code
)
%regadd% /v FaceName /d "新宋体" /f >nul
%regadd% /v FontSize /t REG_DWORD /d 0x00130000 /f >nul
%regadd% /v FontWeight /t REG_DWORD /d 0x00000190 /f >nul
set batcall=1
cls
start %~s0&exit:code
REM 其他代码写在下面
echo 字体修改成功
pause
2013-08-04
展开全部
调显示器的分辨率
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询