youxianwei 当前离线
一级士官
set /p "关键词=请输入要归文件入夹【关键单词】:" md "%关键单词%" 2>nul move "*%关键单词%*.*" "%关键单词%\"复制代码
flashercs 当前在线
少校
@echo off set /p "关键词=请输入要归文件入夹关键单词:" for %%A in (%关键词%) do ( md "%%~A\" 2>nul move "*%%~A*.*" "%%~A\" ) pause复制代码
TOP
@echo off set /p "关键词=请输入要归文件入夹关键单词:" md "%关键词%\" 2>nul for %%A in (%关键词%) do ( move "*%%~A*.*" "%关键词%\" ) pause复制代码