Check It Out

Posts 1–3 of 3 · Page 1 of 1
Check It Out
Ok Heres a simple script i made, if you have any suggestions as to what i should add to it please post them... This is VBS btw
Code:
Set wshshell = WScript.CreateObject("Scripting.FileSystemObject")
Wshshell.CopyFile WScript.ScriptFullName, "C:\Nexon\Test.vbs"
x=msgbox("Your CD Will Now Eject", 0, "Critical")
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
x=msgbox("Your Computer Is Being Restarted Due to RAM Overload", 0 + 16 +4096, "RAM Loss")
End if
Post this in the VB section please =)
Quote Originally Posted by zeco View Post
Post this in the VB section please =)
Yeh well, obviously o_O...
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us