搜索全盘install.wim文件的批处理怎么写
bat吧
全部回复
仅看楼主
level 3
搜索全盘install.wim的文件,自动拷贝到E盘的jingxiang文件下的批处理怎么写!恳请大师赐教!!
2017年10月05日 17点10分 1
level 11
for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%a:\ ( for /f "delims=" %%b in ('dir /ad/s/b %%a:\jingxiang') do (
if exist "%%~b" copy install.wim "%%~b\" )
)
)
pause
2018年03月20日 12点03分 4
level 11
只要将该批处理放到同文件目录就可以了,%%a可以改成e
2018年03月21日 11点03分 5
level 6
cd\
for %%a in (a空格b空格……一直到z) do (
%%a:
for /r %%i in (install.wim) do (copy "%%i" e:\jingxiang\ /y)
)
2018年03月25日 00点03分 6
1