![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bat
407c2289c
java.c
展开
-
须弥戒:自带Base64编码数据的批处理命令
@echo off&title %~n0 - m@20190304.yiyiif exist "%1" (cd /d %~dp1) else exitcertutil -encode "%~nx1" "%~n1.dat"echo setlocal enabledelayedexpansion^&cd /d %%~dp0>"%~n1.bat"echo for /l...原创 2019-03-04 10:14:04 · 664 阅读 · 0 评论 -
批量新建数字文件夹.bat
% mayer@2018.9.18 %@echo offset /p start=请输入起始数:set /p count=请输入新建文件夹数量:set /a end=%start%+%count%md %start%-%end%for /l %%i in (%start%, 1, %end%) do md %start%-%end%\%%ipause...原创 2018-09-18 16:39:05 · 2077 阅读 · 0 评论 -
多目录下所有文件按创建时间重命名.bat
% mayer@2018.4.23 %@echo offsetlocal EnableDelayedExpansionset d=1000for %%a in (%*) do ( cd /d %%a for %%b in (*) do ( if not "%%b"=="%~n0.ba原创 2018-09-19 14:12:50 · 2440 阅读 · 3 评论 -
秒关 - 批处理设定倒计时关机
@echo off&title SecondsOff - m@20190225.yiyiset s=%1:mainecho %s%|findstr "^[1-9][0-9]*$ ^0$ ^\-[1-9][0-9]*$"||goto NonNumericif %s% lss 0 (shutdown -a) else (shutdown -s -t %s%)goto %error...原创 2019-02-28 16:14:59 · 950 阅读 · 0 评论 -
TXT2HTML:纯文本转换为简单网页的批处理
@setlocal enabledelayedexpansion&title %~n0 - m@20190303.yiyi@for %%n in (%*) do call :convert %%nexit:convert@if not exist "%1" goto :eof||cd /d %~dp1@echo ^<meta charset="gbk"^>>...原创 2019-03-03 17:10:07 · 1340 阅读 · 0 评论 -
用批处理统计本地所有文件夹的大小并生成网页报表
@echo off&title %~n0 - m@20190412.yiyiecho ^<meta charset="gbk"^>>index.htmlecho ^<table border="1" width="500"^>>>index.htmlecho ^<tr align="center" bgcolor="silver"^...原创 2019-04-12 16:14:35 · 711 阅读 · 0 评论