Introduction: Removed

All gone...

Comments

DragonH (author)2015-07-02

Hi,

it says all gone...

what was the script tho?

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

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.

jamesbond207 (author)Temo Vryce2012-03-05

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

Poiujm (author)Temo Vryce2011-06-04

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

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.

Poiujm (author)2011-06-04

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

QwertyuioLP (author)2008-07-26

have you renamed it to end with .vbs?

Tailslvr7_7 (author)QwertyuioLP2010-06-15

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

0river0 (author)QwertyuioLP2009-05-07

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

ccrh2008 (author)2010-03-04

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

pink_man_ (author)2009-11-25

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

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.

matstermind (author)comodore2009-08-22

you need to save it as (something).vbs

comodore (author)matstermind2009-08-28

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

QwertyuioLP (author)2009-08-23

make sure it says all files down the bottom

matstermind (author)QwertyuioLP2009-08-23

i did that

fwjs28 (author)2008-04-13

do u type do???

matstermind (author)fwjs282009-08-22

yes

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

matstermind (author)strangelord02009-08-22

it's the same as the code in the instructable

0river0 (author)2009-05-07

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

techwiz24 (author)0river02009-08-10

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

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?

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?

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.

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!

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.

netwarrior (author)2008-10-25

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

lolcat360 (author)2008-08-21

can you just make it eject once?

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.

Bl4cK_kNiF3 (author)Epic Pants2007-11-15

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

Epic Pants (author)Bl4cK_kNiF32007-11-17

nope, im in xp still.

extremegtafan (author)Epic Pants2008-08-07

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

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

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

gamer (author)2007-05-23

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

HardCoreHacker (author)gamer2008-06-08

Visual basic?

Braeburn (author)2008-05-16

I keep getting an error box

coolz (author)2008-04-27

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

coolz (author)2008-04-08

I tried it it doesnt work

coolz (author)coolz2008-04-13

oh wait it does

5h4rp13 (author)2008-04-08

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

mrclark49721 (author)2008-03-09

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

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!

looking4ideas (author)2008-01-30

How can I make it open and close faster

fishinfool2195 (author)2007-12-17

it opens but when i close it it wont reopen

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 :)

Bl4cK_kNiF3 (author)slide452007-11-15

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

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