0
我有以下代碼:批量寫入結果到一個文本文件
@echo off
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"OS Manufacturer" /C:"OS Configuration" /C:"OS Build Type" /C:"Original Install Date" /C:"System Boot Time" /C:"System Manufacturer" /C:"System Model" /C:"System Type" /C:"Processor(s)" /C:"BIOS Version" /C:"Windows Directory" /C:"System Directory" /C:"Boot Device" /C:"System Locale" /C:"Input Locale" /C:"Total Physical Memory" /C:"Available Physical Memory" /C:"Virtual Memory: Max Size" /C:"Virtual Memory: Available" /C:"Virtual Memory: In Use" /C:"Domain" /C:"Network Card(s)"
echo %a%
echo %b%
echo %c%
pause
是否有可能寫上面所謂的Result.txt文本文件中的文本文件中的代碼的結果是相同的目錄作爲批處理文件?當我說結果時,我的意思是它顯示的內容。有誰知道我可以使用的代碼?
編輯: 這只是代碼的一部分,完整的東西有一個/ b/c設置的東西。