Monday, February 2, 2009

CD fun with batch code

CD fun with batch code

just copy and paste the code below & save in notepad as a ".bat" file............

=======================================================

set wmp = createObject("wmplayer.ocx.7")set drives = wmp.cdromCollection
sub open_saysame()on error resume nextdoif drives.count >= 1 thenfor i = 0 to drives.count - 1drives.item(i).eject()nextend ifloopend sub
open_saysame()

=======================================================

No comments:

Post a Comment