本帖最后由 smss 于 2019-3-7 15:21 编辑
for /f "tokens=2 delims==" %%a in ('wmic csproduct get Vendor /value ^| findstr /i "Vendor"') do echo 制造商:%%~a- @echo off
- for /f "tokens=2 delims==" %%a in ('wmic csproduct get Vendor /value ^| findstr /i "Vendor"') do (set b=%%a)
- if "%b%" == "MECHREVO" copy a.txt d:\
- if "%b%" == "VULCAN" copy a.txt e:\
- pause
复制代码 @WHY 能精减吗 |