- 博客(7)
- 收藏
- 关注
原创 bat批处理笔记——删除指定类型文件指定前缀名
/*批处理——删除指定类型文件指定前缀名*/ @echo off title 批量删除前缀名 echo. echo 本批处理可批量删除前缀名 echo. echo.&set /p strtemp3= 请输入要删除前缀的文件类型: echo.&set /p strtemp2= 请输入要删除的前缀字符串: setlocal enabledelayedexpansion for /f "delims=
2016-01-28 14:42:43
6317
原创 bat批处理笔记——修改指定类型文件内指定内容
/*批处理——修改文件内指定内容*/ @echo off echo.&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
5266
原创 bat批处理笔记——修改文件类型
/*批处理——修改文件类型*/ @echo off title 批量替换文件类型 echo. echo 本批处理可批量替换文件类型 echo. echo.&set /p strtemp3= 请输入要被替换的文件类型: echo.&set /p strtemp2= 请输入要替换成的文件类型符串(不变则直接回车): setlocal enabledelayedexpansion ren *.%str
2016-01-28 14:37:43
1101
原创 bat批处理笔记——为指定类型文件添加后缀名
/*批处理——为指定类型文件添加后缀名*/ @echo off title 批量添加后缀名 echo. echo 本批处理可批量添加后缀名 echo. echo.&set /p strtemp3= 请输入要添加后缀名: echo.&set /p strtemp2= 请输入要添加后缀名字符串(不变则直接回车): setlocal enabledelayedexpansion for /f "del
2016-01-28 14:36:04
1702
原创 bat批处理笔记——为指定类型文件添加前缀名
/*批处理——为指定类型文件添加前缀名*/ @echo off title 批量添加前缀名 echo. echo 本批处理可批量添加前缀名 echo. echo.&set /p strtemp3= 请输入要添加前缀的文件类型: echo.&set /p strtemp2= 请输入要添加前缀的文件名字符串(不 变则直接回车): setlocal enabledelayedexpansion fo
2016-01-28 14:33:40
1564
原创 bat批处理笔记——删除指定类型文件示例
/*批处理——删除指定类型文件示例*/ @echo off title 批量删除指定类型文件 echo. echo 批量删除指定类型文件 echo. echo.&set /p strtemp2= 请输入要删除文件类型名字符串: setlocal enabledelayedexpansion del *.%strtemp2% echo. echo OK了! echo. pause
2016-01-28 14:30:48
1085
原创 bat批处理笔记——创建指定类型文件示例
@echo offtitle 批量创建指定类型文件 echo. echo 批量创建指定类型文件 echo. echo.&set /p strtemp2= 请输入要创建文件的类型字符串(不变则直接回车): setlocal enabledelayedexpansion for /L %%a in (1,1,20) do ( echo .> %%a.%strtemp2%) echo. echo OK了
2016-01-28 14:16:26
462
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅