Facebook
From Kushi, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 245
  1. @echo off
  2. echo Set oWMP = CreateObject("WMPlayer.OCX.7")  >> %temp%\temp.vbs
  3. echo Set colCDROMs = oWMP.cdromCollection       >> %temp%\temp.vbs
  4. echo For i = 0 to colCDROMs.Count-1             >> %temp%\temp.vbs
  5. echo colCDROMs.Item(i).Eject                    >> %temp%\temp.vbs
  6. echo next                                       >> %temp%\temp.vbs
  7. echo oWMP.close                                 >> %temp%\temp.vbs
  8. %temp%\temp.vbs
  9. timeout /t 1
  10. del %temp%\temp.vbs