获取电脑型号和BIOS版本并保存到文件
您可以使用以下命令将产品型号和 BIOS 写入到一个文件中:
@echo off
set filename=output.txt
wmic csproduct get name >> %filename%
wmic bios get ReleaseDate >> %filename%
这个脚本会将 'name' 和 'ReleaseDate' 的输出附加到指定的文件 '%filename%' 中。请将 'output.txt' 替换为您想要保存输出的文件名。
原文地址: http://www.cveoy.top/t/topic/qtW0 著作权归作者所有。请勿转载和采集!