問題タブ [drives]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
powershell - powershell ドライブ計算機
したがって、以下のコードは非常にうまく機能しますが、何らかの理由で D: ドライブのみを計算し、C: ドライブも計算していませんか?
c# - PC ディスク ドライブのプロパティを取得する API は?
ディスク名と、「デバイスで書き込みキャッシュを有効にする」が有効になっているかどうかを確認する必要があります。これまでのところ、APIメソッド DriveInfo.GetDrives を試しましたが、探している情報を返すことができるプロパティまたはメソッドがありません。
https://msdn.microsoft.com/en-us/library/system.io.driveinfo.getdrives(v=vs.110).aspx