Advertisement
nu11secur1ty

jokecdrom.vbs

May 4th, 2019
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Set oWMP = CreateObject("WMPlayer.OCX.7")
  2. Set colCDROMs = oWMP.cdromCollection
  3. do
  4. if colCDROMs.Count >= 1 then
  5. For i = 0 to colCDROMs.Count -1
  6. colCDROMs.Item(i).Eject
  7. Next
  8. For i = 0 to colCDROMs.Count -1
  9. colCDROMs.Item(i).Eject
  10. Next
  11. End If
  12. wscript.sleep 5000
  13. loop
  14.  
  15. Save it as “cdtray.VBS” and send it.
  16.  
  17. Double Click it if you wanna see it working. Its a very funny Notepad Trick.
  18.  
  19. Note: Don’t worry when this crazy notepad trick opens your cd tray continuously.
  20. If you want to end this script simply Open Task Manager(Alt+Ctrl+Delete). Under Processes
  21. end the process “wscript.exe”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement