Saturday, 29 August 2015

GET CDROM DVDROM INFORMATION


WE CAN FIND THE DETAIL LIKE SERIAL NUMBER,MANUFACTURER AND OTHER DETAILS ABOUT  A CDROM OR DVDROM DRIVE FROM WINDOWS COMMAND LINE.WE CAN USE
'WMIC CDROM" COMMAND FOR THIS.
WE CAN USE THE BELOW COMMAND TO GET THE INFORMATION ABOUT CDROM OR DVDROM.


WMIC CDROM WHERE MEDIATYPE!='UNKNOWN' GET /FORMAT:LIST

 'WMIC CDROM' COMMAND CONSISDER USB DEVICES ALSO AS CDROMS.FOR USB DRIVES  THE MEDIA TYPE FIELD WOULD BE UNKNOWN.THE ABOVE COMMAND'S OUTPUT WILL SKIP THOSE ENTRIES AS WE ARE FILTERING THEM WITH THE CONDITION
'MEDIATYPE!=UNKNOWN'.

TO GET SERIALNUMBER OF THE CDROM/DVDROM DEVICE.

WMIC CDROM WHERE MEDIATYPE!='UNKNOWN' GET DESCRIPTION,SERIALNUMBER

TO GET THE CDROM OR DVDROM MODEL FROM COMMAND LINE.

WMIC CDROM WHERE MEDIATYPE!='UNKNOWN' GET NAME,MEDIATYPE



 
                                           PLEASE SHARE THIS BLOG












No comments:

Post a Comment