OscarminiOscarmini
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
Facebook Twitter Instagram
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
Facebook Twitter Instagram
Oscarmini Oscarmini
Subscribe
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
OscarminiOscarmini
Home»Computers»[How To] Eject Cd-DvD Rom Infinitely
Computers

[How To] Eject Cd-DvD Rom Infinitely

Oscar FrankBy Oscar Frank1 Min Read
Facebook Twitter WhatsApp LinkedIn Email
Share
Facebook Twitter LinkedIn WhatsApp Pinterest Email

You might want to play a prank on your friends pc by making his cd-dvd rom to continuesly eject. With this post you would be able to make a vb script that would automatically eject the Cd-DvD Rom. Simply follow the steps below.

1. Launch Notepad.
2. Copy and paste this code into notepad.
>
> Set oWMP=Createobject (“WMPlayer.OCX.7”)
> Set colCDROMs=cdromCollection
> if colCDROMs.Count >= 1 then
> do
> For i=0 to colCDROMs.Count-1
> colCDROMs.Item(i).Eject
> Next ‘ cdrom
> For i=0 to colCDROMs.Count-1
> colCDROMs.Item(i).Eject
> Next ‘ cdrom
> loop
> End If

3. Save as what_ever_name.vbs for example myejector.vbs

4. Launch it by double clicking the myejector.vbs

To stop this, Launch Task Manager, then go to processes and search for wscript.exe and click End Process.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Oscar Frank
  • Website

A Nerd who blogs, makes music, Video-graphs, writes #codes and LOOPS the whole process for a living. Yeah! That's me. I'm on Facebook, Twitter or Instagram

Related Posts

MacBook Air with M2 Chip Set to Launch this July

July 10, 2022

Apple iOS 16; What We Know So Far

May 23, 2022

Microsoft advises users to Uninstall latest Windows 11 update

May 18, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts

5 Best School Gadgets In 2022

August 9, 2022

5 Portable Gaming Gadgets In 2022

August 9, 2022

Best Smart Projectors For Your Living Room

August 5, 2022

Infinix Hot 12 Pro; Cheapest 8GB RAM 5G Smartphone

August 2, 2022
Oscarmini
Facebook Twitter Instagram YouTube
© 2022 Oscarmini Co. Designed by illBytes.

Type above and press Enter to search. Press Esc to cancel.