当前位置:DOS资源站资料中心批处理教程 → 用批处理在任务栏显示自己名字

用批处理在任务栏显示自己名字

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2008-4-20 17:23:52

@echo off&title DOS资源站 www.cmdos.net

set /p name=输入你的名字:

reg add "HKCU\Control Panel\International" /v sTimeFormat /t REG_SZ /d "tt hh:mm:ss" /f

reg add "HKCU\Control Panel\International" /v s1159 /t REG_SZ /d "%name%" /f

reg add "HKCU\Control Panel\International" /v s2359 /t REG_SZ /d "%name%" /f

gpupdate /force

RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters

pause