Introduction: Removed

All gone...

Comments

author
DragonH (author)2015-07-02

Hi,

it says all gone...

what was the script tho?

author
theprogrammer (author)2012-03-27

if you just want it to open once type this

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If


bye bye

author
Temo Vryce (author)2010-04-07

Nice Ible.

For those that are interested. You can save the .vbs file to a USB Key, run it from the key and then remove the key from the computer. The drive will continue to open on it's own until you kill the wscript task.

author
jamesbond207 (author)Temo Vryce2012-03-05

this DAM THING DON;T WORK, but its really interesting!

author
Poiujm (author)Temo Vryce2011-06-04

good idea, but can someone tell me how to make it turn on every time i press space?

author
Tailslvr7_7 (author)Temo Vryce2010-06-15

Good idea... And maybe you could attach it to an autorun script so all you need to do is insert the key, wait a few seconds, and then take it out.

author
Poiujm (author)2011-06-04

Lol it's processes, not programs... took me bout 15 mins to turn it off HA!

author
QwertyuioLP (author)2008-07-26

have you renamed it to end with .vbs?

author
Tailslvr7_7 (author)QwertyuioLP2010-06-15

Lol, I found my old comment just today... I just preformed this instructible very easily... xD

author
0river0 (author)QwertyuioLP2009-05-07

yay that .vbs thing works yay not how do i stop it

author
ccrh2008 (author)2010-03-04

Hint: to cause maximum frustration with computer, place in hidden folder in startup folder

author
pink_man_ (author)2009-11-25

what if you have 2/3 cd drives???????

author
comodore (author)2008-01-21

it looks very interesting, but it doesn't work. WHY? I do everything the Instructable says but it just won't work. i copy the text and paste it on the text document, save it in my documents and named cdrom.vbs and it still won't work.

author
matstermind (author)comodore2009-08-22

you need to save it as (something).vbs

author
comodore (author)matstermind2009-08-28

I did that, still won't work??? I am a bad programer! :(

author
QwertyuioLP (author)2009-08-23

make sure it says all files down the bottom

notepad help.bmp
author
matstermind (author)QwertyuioLP2009-08-23

i did that

author
fwjs28 (author)2008-04-13

do u type do???

author
matstermind (author)fwjs282009-08-22

yes

author
strangelord0 (author)2008-12-25

Perhaps you should change it to this, so you don't have a delay:

do

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If

loop

Look out your finger may be bashed of xD

author
matstermind (author)strangelord02009-08-22

it's the same as the code in the instructable

author
0river0 (author)2009-05-07

arr it wont stop run away how do i kill it tell me plz.!!!arr befor its to late!!!

author
techwiz24 (author)0river02009-08-10

might be able to use killtask from cmd, or something like that...

author
isketch93 (author)2009-04-17

Is it possible to modify this code so that it will just make the CD drive open and close like crazy until you terminate wscript process?

author
AfroMann (author)2008-08-19

I tried it out and a screen popped up saying that windows can't open the file because it doesn't know what created it, why does it do this?

author
omnibot (author)AfroMann2009-01-01

Most likely you don't have visual basic installed, it could also be that your windows is not set to open this filetype as a visual basic program. I don't recommend you get VB since it spawns viruses.

author
awang8 (author)omnibot2009-01-26

Visual Basic does not spawn viruses. Visual Basic is a great program and everyone who is interested in this sort of stuff should use it. And no, I'm not a VB advertiser!

author
omnibot (author)awang82009-01-27

You're right, VB does not "spawn viruses". I find though that it does allow for the easy creation of very destructive programs with far to many possibilitys. The close integration between VB, Outlook and Windows explorer is a safety-issue of such proportions that I do not allow them on any of my computers and do not install them on my friends computers. The result is that although VB-programming is a closed book to me I have not suffered any virus-attacks since the 90's.

author
netwarrior (author)2008-10-25

CoOoOoOoOoL i did it in the school , our teacher gathered his tools and quit ,

author
lolcat360 (author)2008-08-21

can you just make it eject once?

author
Epic Pants (author)2007-07-28

When running, an error pops up identifying character 1 of the ninth line code 8fff0101. the trays do open though.

author
Bl4cK_kNiF3 (author)Epic Pants2007-11-15

ya i got the same problem.... maybe its vista?

author
Epic Pants (author)Bl4cK_kNiF32007-11-17

nope, im in xp still.

author
extremegtafan (author)Epic Pants2008-08-07

XP ROCKS!!! Ok, I'm done now.

author

I'm not done. MICROSOFT!!! WHOOOOOOO! YEAH! Now I'm done.

author
smartefface (author)2008-06-09

well nice job meeze
people getting different errors ok i think u dont mind if i help a bit

the error is (so far i think by reading comments) u use loop on drives if anyone have virtual drives or somthing like that it will print error

try that one
do
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
colCDROMs.Item(0).Eject
loop

maybe u like that code

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
do
colCDROMs.Item(0).Eject
loop

author
gamer (author)2007-05-23

i think u need visual basic to use it, but i dont have it

author
HardCoreHacker (author)gamer2008-06-08

Visual basic?

author
Braeburn (author)2008-05-16

I keep getting an error box

author
coolz (author)2008-04-27

for some reason, The file automatically disappears when I save the file BEFORE i rename it to .vbs

author
coolz (author)2008-04-08

I tried it it doesnt work

author
coolz (author)coolz2008-04-13

oh wait it does

author
5h4rp13 (author)2008-04-08

it says that it won't run because it contains a 'loop without a do'. Thoughts?

author
mrclark49721 (author)2008-03-09

it works awesome. its hilarious. but could you explain how it works?

author
mdog228 (author)2008-02-18

let me pose a warnig, this is a very awesome hack and i luv it but if you have mcAfee then writing this hack will be unbearable so yeh but if you don't then hey... DO IT!

author
looking4ideas (author)2008-01-30

How can I make it open and close faster

author
fishinfool2195 (author)2007-12-17

it opens but when i close it it wont reopen

author
slide45 (author)2007-06-05

i tryed doing it twice still didnt work on me. I went to my documents, clicked anypart of the bacground, made a new text document. copy and pasted stage 3 coz im to lazy to write it. put .vbs after the name. opened the text document i made to see if my cd drive opened. what am i doing wrong. Please exlplain in more detail. thanks :)

author
Bl4cK_kNiF3 (author)slide452007-11-15

do file save as, then switch it to all files and put .vbs afterwards. then save

author
moomoocows (author)2007-07-23

i followed all the steps but when i double click it it just brings the file back up as if i should edit it again