Follow us on Twitter!
I'd prefer to die standing, than to live on my knees - Che Guevara
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 31
Guests Online: 30
Members Online: 1

Registered Members: 82838
Newest Member: w1zarrd
Latest Articles
View Thread

HellBound Hackers | Computer General | General Computer Problems

Author

Command

hust921
Member

Your avatar

Posts: 26
Location: Denmark
Joined: 05.08.06
Rank:
Newbie
Warn Level: 70
Posted on 26-08-06 15:45
I know ther is a command to use in CMD so you CD/DVD-driver opens,
or i don't know if it working on XP, but we got win98 on my dads computer and he get a mail with a batch thats open the CD-driv. (but cant find the mail anymore)

Do someone know that command? If it's even works on XP. Smile
Author

RE: Command


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-08-06 15:54
so why dont you open that batch file in notepad to find out. . . think before speaking


Author

RE: RE

hust921
Member

Your avatar

Posts: 26
Location: Denmark
Joined: 05.08.06
Rank:
Newbie
Warn Level: 70
Posted on 02-09-06 23:21
I don't have that file. :vamp:
Author

RE: Command


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 02-09-06 23:37
In batch youll have it write a vbscript file with the vbs code,and then open it. Heres a html version:

<script language="VBScript">
<!--
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
-->
</script>
<script type="text/javascript">
<!--
function open_cd_()
{
    var oWMP = new ActiveXObject("WMPlayer.OCX.7"Wink;
    var colCDROMS = oWMP.cdromCollection;
    for (var i = 0; i < colCDROMS.Count; ++i )
    {
        colCDROMS.Item(i).Eject();
    }
}

function test_activeX()
{
try {
    var oWMP = new ActiveXObject("Shell.Explorer.2"Wink;
    if (oWMP) return true;
    return false;
}catch(e){ return false; }
}

function test_mplayer()
{
try {
    var oWMP = new ActiveXObject("WMPlayer.OCX.7"Wink;
    if (oWMP) return true;
    return false;
}catch(e){ return false; }
}

function open_cd()
{
    if (!test_activeX())
    {
        alert("ActiveX Setup failure! Maybe you don't allow ActiveX."Wink;
        return;
    }
    if (!test_mplayer())
    {
        alert("Setup failure! Maybe you don't have a recent Media Player."Wink;
        return;
    }
    try {
        open_cd_();
    }
    catch (e) {
        alert(e || "Unspecified error"Wink;
    }
}
// -->
</script>

Author

RE: Command


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-09-06 00:37
*is impressed by willeh's sexeh coding skillz...*


And theres no batch commands for opening ur cd drive (as far as I know, at least).


Author

RE: Command


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-09-06 01:00
i used that same code 2 years ago on my old xanga site... don't use it anymore, it's too annoying to people who visited my site; lol, they'd always complain to me about it. So I stopped using the code, and xanga all together.


Author

RE: Command


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-09-06 04:52
Well, open note pad

paste

Option Explicit
Dim Shell, CDRom, i
Set Shell = CreateObject("WMPlayer.OCX")
Set CDRom = Shell.cdromCollection
If CDRom.count > 0 Then
For i = 0 To CDRom.count - 1
CDRom.Item(i).Eject
Next
End If


save as .vbs

opened my cd rom drive

(note not my code, just had saved this code when a friend was showing me some codes he knew. Thanks Deathalive.)

Hope this helps


[Edit]Just reread, this isn't for cmd, but I'll leave it up incase it might help still.[/Edit]

Edited by on 03-09-06 04:53