
批處理如何將多條命令的執行返回結果輸出到同一個日志文件最后由 pcl_test 于 -4-29 19:17wmic /record:e:1.xml /node:192.168.0.1 /user:administrator /password:123456 LogicalDisk where caption='d:' get FreeSpace wmic /record:e:2.xml /node:192.168.0.2 /user:administrator /password:123456 LogicalDisk where caption='d:' get FreeSpace 我需要統計內網機器的磁盤剩余空間并記錄在一個日志文件中,這樣的代碼只能一臺服務器一個日志很是麻煩,不知道有其他的方法么?還有,這樣的輸出磁盤空間格式為字節。。能否將格式改為GB ?

