- 博客(7)
- 收藏
- 关注
原创 bat批处理笔记——删除指定类型文件指定前缀名
/*批处理——删除指定类型文件指定前缀名*/@echo offtitle 批量删除前缀名echo.echo 本批处理可批量删除前缀名echo.echo.&set /p strtemp3= 请输入要删除前缀的文件类型:echo.&set /p strtemp2= 请输入要删除的前缀字符串:setlocal enabledelayedexpansionfor /f "delims=
2016-01-28 14:42:43
6077
原创 bat批处理笔记——修改指定类型文件内指定内容
/*批处理——修改文件内指定内容*/@echo offecho.&set /p strtemp3= 请输入要修改的文件类型:echo.&set /p strtemp2= 请输入要修改的文件内容:echo.&set /p strtemp1= 请输入要修改后的文件内容:for /f "delims=" %%i in ('dir /s/b *.%strtemp3%') do (
2016-01-28 14:40:06
5097
原创 bat批处理笔记——修改文件类型
/*批处理——修改文件类型*/@echo offtitle 批量替换文件类型echo.echo 本批处理可批量替换文件类型echo.echo.&set /p strtemp3= 请输入要被替换的文件类型:echo.&set /p strtemp2= 请输入要替换成的文件类型符串(不变则直接回车):setlocal enabledelayedexpansionren *.%str
2016-01-28 14:37:43
947
原创 bat批处理笔记——为指定类型文件添加后缀名
/*批处理——为指定类型文件添加后缀名*/@echo offtitle 批量添加后缀名echo.echo 本批处理可批量添加后缀名echo.echo.&set /p strtemp3= 请输入要添加后缀名:echo.&set /p strtemp2= 请输入要添加后缀名字符串(不变则直接回车):setlocal enabledelayedexpansionfor /f "del
2016-01-28 14:36:04
1544
原创 bat批处理笔记——为指定类型文件添加前缀名
/*批处理——为指定类型文件添加前缀名*/@echo offtitle 批量添加前缀名echo.echo 本批处理可批量添加前缀名echo.echo.&set /p strtemp3= 请输入要添加前缀的文件类型:echo.&set /p strtemp2= 请输入要添加前缀的文件名字符串(不变则直接回车):setlocal enabledelayedexpansionfo
2016-01-28 14:33:40
1417
原创 bat批处理笔记——删除指定类型文件示例
/*批处理——删除指定类型文件示例*/@echo offtitle 批量删除指定类型文件echo.echo 批量删除指定类型文件echo.echo.&set /p strtemp2= 请输入要删除文件类型名字符串:setlocal enabledelayedexpansiondel *.%strtemp2%echo.echo OK了!echo.pause
2016-01-28 14:30:48
1028
原创 bat批处理笔记——创建指定类型文件示例
@echo offtitle 批量创建指定类型文件echo.echo 批量创建指定类型文件echo.echo.&set /p strtemp2= 请输入要创建文件的类型字符串(不变则直接回车):setlocal enabledelayedexpansionfor /L %%a in (1,1,20) do (echo .> %%a.%strtemp2%)echo.echo OK了
2016-01-28 14:16:26
406
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人