摘要:
@echo off setlocal enabledelayedexpansion for /r "G:\111\" %%i in (*.*) do ( set b=%%~nxi set b=!b: =_! echo %%~dpi echo !b! echo %%~nxi ren "%%i" !b! 阅读全文
摘要:
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /ad/b/s^|sort /r') do ( set b=%%~nxi set b=!b: =_! echo %%i echo !b! ren "%%i" 阅读全文
摘要:
@echo off setlocal enabledelayedexpansion for /r "G:\处理的视频\" %%i in (*.mp4) do ( set b=%%i set b=!b:.mp4=.jpg! echo !b! echo %%i ffmpeg -ss 00:02:05 - 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "D:\文件夹名称列表.txt"') do ( del /q/a/f/s "D:\项目发布\%%a\*.*" rd /s/q "D:\项目发布\%%a\" ) pause 复制以上代码保存到文本中并修改txt为bat" 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "C:\Users\Administrator\Desktop\要删除的文件名称.txt"') do ( del /q "C:\Users\Administrator\Desktop\文件夹1\%%a" ) pause 阅读全文
摘要:
http://www.ffmpeg.org/download.html 先下载 ffmpeg.exe 文件 @echo off setlocal enabledelayedexpansion for /r "C:\Users\Administrator\Desktop\video\" %%i in 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "F:\剪切的文件名称.txt"') do ( if exist F:\文件位置\%%a ( echo "F:\文件位置\%%a" move "F:\文件位置\%%a" "F:\移动的位置\" )else (echo 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "C:\Users\Administrator\Desktop\要复制的文件名称.txt"') do ( if exist G:\资源2\%%a ( echo "G:\资源2\%%a" xcopy "G:\资源2\%% 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "D:\文件夹名称.txt"') do ( xcopy "D:\项目发布\%%a" "D:\迅雷下载\%%a\" /s /y ) pause 复制以上代码保存到文本中并修改txt为bat"D:\文件夹名称.txt" 需 阅读全文
摘要:
@echo off for /f "delims=" %%a in ('type "C:\Users\Administrator\Desktop\要复制的文件名.txt"') do ( xcopy "要复制的文件所在的路径\%%a" "目标文件夹路径\" /S ) pause 复制以上代码保存到文本 阅读全文