Hi guys,
I am new here and also new to scripting.
I am searching for a script that determines whether there is a Cd-rom or not
Currently I have this:
Set colItems = objWMIService.ExecQuery _
("Select * from Win32_CDROMDrive")
For Each objItem in colItems
cdrom= objItem.Drive & ";"
next
now...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.