![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bat
胡伟峰
这个作者很懒,什么都没留下…
展开
-
添加字体
for /f %%a in ('dir *.ttf /x /b') do ( dir %windir%\fonts\%%a>nul 2>nul||(copy %%a %windir%\fonts>nul 2>nul&rundll32.exe gdi32.dll,AddFontResourceA %windir%\fonts\%%a) ) 检查同目录下的后缀为.ttf的字体文件,如系统字体文件转载 2011-10-25 08:51:11 · 654 阅读 · 0 评论 -
部分系统路径
当前系统盘符%systemdrive%或 %HOMEDRIVE%C:\ 当前系统目录%systemroot%或 %Windir%C:\WINDOWS 当前用户文件夹%UserProfile%或 %HOMEPATH%C:\Documents and Settings\Administrator 所有用户文件夹%AllUsersProfile%C:\Document原创 2011-10-25 15:19:55 · 263 阅读 · 0 评论 -
批处理比较数值大小
EQU - 等于 NEQ - 不等于 LSS - 小于 LEQ - 小于或等于 GTR - 大于 GEQ - 大于或等于原创 2011-10-25 15:39:31 · 6681 阅读 · 0 评论