TechLeep | Android Tricks, Promo Codes, Recharge Tricks 2020

How to eject cd rom with vb script

in: CODE SCRIPT TIPS WINDOWS

image

Just copy paste the full script as it is on notepad and save the file as “cdeject.vbs”
cdeject.vbs

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

About Admin of the Blog:

Ali is the founder of TechLeep .He is a Engineer, SEO Expert, Designer and a Pro Blogger. Contact Him Here

Follow him @ Google+ | Facebook | Twitter


RELATED POSTS

0 comments:

Post a Comment

Newer Post Older Post Home
Powered by Blogger.
Home
About Us
Privacy Policy
Contact Us

Featured Post

7 Best Animation Software Free for Windows– 2D/3D Software

Popular Posts

Follow Us

About Me

Techleep
View my complete profile

"© Copyright 2009" Techleep · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·
Template Developed By Techleep.