🖥️ Batch (CMD)

Get CD/DVD Drives Report (Batch)

Uses wmic to list CD/DVD Drives (Win32_CDROMDrive) straight from the command line.

By WindowsScripting.com · 294 B
GetCDROMDriveReport.bat
@echo off
:: ============================================================
:: GetCDROMDriveReport.bat
::
:: Reports CD/DVD Drives via WMI (Win32_CDROMDrive).
:: ============================================================

wmic path Win32_CDROMDrive get Name,Drive,MediaType /format:table

pause