bat批处理笔记——创建指定类型文件示例

来源:互联网 发布:淘宝客怎么自动发单 编辑:程序博客网 时间:2024/06/01 22:56

/*批处理——创建指定类型文件示例*/

@echo offtitle 批量创建指定类型文件echo.echo 批量创建指定类型文件echo.echo.&set /p strtemp2= 请输入要创建文件的类型字符串:setlocal enabledelayedexpansionfor /L %%a in (1,1,20) do (echo .> %%a.%strtemp2%)echo.echo OK了!echo.pause


0 0