可以使用以下命令将测试到的磁盘读取速度设置为一个变量:

for /f "tokens=3" %a in ('winsat disk -drive %usb3_label% -seq -read ^| findstr /i "read"') do set disk_read_speed=%a

在批处理脚本中使用时,将%a改为%%a。

winsat disk -drive usb3_label -seq -read 把测试到的磁盘读取速度设置为一个变量

原文地址: https://www.cveoy.top/t/topic/fWfP 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录