Today i,m going to share with you an amazing notepad trick with you can open your CD/DVD Rom from your computer desktop your all need is just follow these simple steps
1) Open your notepad
2) Copy the code given below and paste this code in your notepad
3) Now Save Your notepad as ejectcd.vbs
4) Now Double click on your save file and it will automatically eject your CD/DVD Rom
Note:
if You want to stop this script your all need is go to Task manager > Process and search here wscript.exe and click on end process and Finally You Have Done This.
1) Open your notepad
2) Copy the code given below and paste this code in your notepad
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If
3) Now Save Your notepad as ejectcd.vbs
4) Now Double click on your save file and it will automatically eject your CD/DVD Rom
Note:
if You want to stop this script your all need is go to Task manager > Process and search here wscript.exe and click on end process and Finally You Have Done This.


No comments:
Post a Comment
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.