- First open a notepad
- copy and paste these codes to it.
Set colCDROMs = OWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
colCDROMs.Item(i).Eject
Next ' cdrom
End If
3. save notepad as .vbs file. ex- dvdrom.vbs
4. now double click the created file.
No comments:
Post a Comment