如何在Windows下检测CLI中的当前媒体types? (DVD-RW,BD-R等)
如何在Windows下检测CLI中的当前媒体types? (DVD-RW,BD-R等) 我已经尝试使用wmic cdrom get / format:list,但没有关于当前媒体types的信息。 我想检测光盘是CD,DVD,BD,RW,DL等。在计算机下的Windows GUI中,我们可以根据显示的光驱图标来查看信息。 此外,我找不到“可用性”和“能力”值的含义,如果您知道某个文档在谈论它,那就太好了。 C:\>wmic cdrom get /format:lis Availability=3 Capabilities={3,4,7} CapabilityDescriptions={"Random Access"," Supports writing"," Supports Removable Media"} Caption=HL-DT-ST BD-RE BH12LS35 CompressionMethod=Unknown ConfigManagerErrorCode=0 ConfigManagerUserConfig=FALSE CreationClassName=Win32_CDROMDrive DefaultBlockSize= Description=CD-ROM Drive DeviceID=SCSI\CDROM&VEN_HL-DT-ST&PROD_BD-RE__BH12LS35\4&15828421& ;0&050000 Drive=G: DriveIntegrity=TRUE ErrorCleared= ErrorDescription= ErrorMethodology= FileSystemFlags= FileSystemFlagsEx=21757959 Id=G: InstallDate= LastErrorCode= Manufacturer=(Standard CD-ROM drives) MaxBlockSize= MaximumComponentLength=254 MaxMediaSize= MediaLoaded=TRUE MediaType=DVD Writer MfrAssignedRevisionLevel=1.00 […]