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
